aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-05-05 00:33:27 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-05-05 00:45:08 -0700
commitadb9c23984d0bb4b9a33335958d804e5c7830ac7 (patch)
treeebd352d67f5622dbc38a20d505b7b8f240521b85
parentfcb60f72593275a5727c93edc31f0a35d420d069 (diff)
downloadvcpkg-adb9c23984d0bb4b9a33335958d804e5c7830ac7.tar.gz
vcpkg-adb9c23984d0bb4b9a33335958d804e5c7830ac7.zip
[snappy] Use vcpkg_fixup_cmake_targets()
-rw-r--r--ports/snappy/CONTROL2
-rw-r--r--ports/snappy/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/snappy/CONTROL b/ports/snappy/CONTROL
index 2b585fdd8..7d09402bf 100644
--- a/ports/snappy/CONTROL
+++ b/ports/snappy/CONTROL
@@ -1,3 +1,3 @@
Source: snappy
-Version: 1.1.4
+Version: 1.1.4-1
Description: A fast compressor/decompressor.
diff --git a/ports/snappy/portfile.cmake b/ports/snappy/portfile.cmake
index ef285bd69..d4bb7bb20 100644
--- a/ports/snappy/portfile.cmake
+++ b/ports/snappy/portfile.cmake
@@ -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)