diff options
| -rw-r--r-- | ports/libyaml/CONTROL | 2 | ||||
| -rw-r--r-- | ports/libyaml/portfile.cmake | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/ports/libyaml/CONTROL b/ports/libyaml/CONTROL index e38c0f9d0..6dbff7ff3 100644 --- a/ports/libyaml/CONTROL +++ b/ports/libyaml/CONTROL @@ -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.
diff --git a/ports/libyaml/portfile.cmake b/ports/libyaml/portfile.cmake index 6c6a6b97b..3d7f12d7e 100644 --- a/ports/libyaml/portfile.cmake +++ b/ports/libyaml/portfile.cmake @@ -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)
|
