[snappy] Use vcpkg_fixup_cmake_targets()

This commit is contained in:
Robert Schumacher 2017-05-05 00:33:27 -07:00
parent fcb60f7259
commit adb9c23984
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
Source: snappy
Version: 1.1.4
Version: 1.1.4-1
Description: A fast compressor/decompressor.

View File

@ -19,8 +19,8 @@ vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/share/snappy/SnappyTargets-debug.cmake ${CURRENT_PACKAGES_DIR}/share/snappy/SnappyTargets-debug.cmake)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE ${CURRENT_PACKAGES_DIR}/debug/share/snappy/SnappyConfigVersion.cmake)
vcpkg_fixup_cmake_targets()
file(COPY ${CURRENT_BUILDTREES_DIR}/src/snappy-1.1.4/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/snappy)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/snappy/COPYING ${CURRENT_PACKAGES_DIR}/share/snappy/copyright)