mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-23 19:29:49 +00:00
[libyaml] Fix CMake package and CMake targets (#8177)
This commit is contained in:
parent
9b4b5f4ce7
commit
0053942ee5
@ -1,3 +1,3 @@
|
||||
Source: libyaml
|
||||
Version: 0.2.2-1
|
||||
Version: 0.2.2-2
|
||||
Description: A C library for parsing and emitting YAML.
|
||||
|
@ -15,12 +15,14 @@ vcpkg_configure_cmake(
|
||||
PREFER_NINJA
|
||||
OPTIONS
|
||||
-DBUILD_TESTING=OFF
|
||||
-DINSTALL_CMAKE_DIR=share/yaml
|
||||
)
|
||||
|
||||
vcpkg_install_cmake()
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/include/config.h)
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH share/yaml TARGET_PATH share/yaml)
|
||||
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/include/config.h ${CURRENT_PACKAGES_DIR}/debug/share)
|
||||
|
||||
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
||||
|
||||
configure_file(${SOURCE_PATH}/LICENSE ${CURRENT_PACKAGES_DIR}/share/libyaml/copyright COPYONLY)
|
||||
|
Loading…
Reference in New Issue
Block a user