mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[miniz] Fix broken cmake config file (#11316)
This commit is contained in:
parent
2f7a104d4d
commit
2e6b66cbd1
@ -1,3 +1,4 @@
|
|||||||
Source: miniz
|
Source: miniz
|
||||||
Version: 2.1.0
|
Version: 2.1.0-1
|
||||||
|
Homepage: https://github.com/richgel999/miniz
|
||||||
Description: Single C source file zlib-replacement library
|
Description: Single C source file zlib-replacement library
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
include(vcpkg_common_functions)
|
|
||||||
|
|
||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO richgel999/miniz
|
REPO richgel999/miniz
|
||||||
@ -18,8 +16,7 @@ vcpkg_configure_cmake(
|
|||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
vcpkg_fixup_cmake_targets(CONFIG_PATH share/${PORT})
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
|
|
||||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/miniz RENAME copyright)
|
|
||||||
|
|
||||||
vcpkg_test_cmake(PACKAGE_NAME miniz)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user