aboutsummaryrefslogtreecommitdiff
path: root/ports/szip
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-11-22 09:47:40 -0800
committerGitHub <noreply@github.com>2019-11-22 09:47:40 -0800
commit45f4b820e5743b89bca3508ba2028cdd5d8bbd17 (patch)
treef874a8c4a7392309bdbb86447288597ec0a4a281 /ports/szip
parent62d67d3bf8eeff1afa8009041fd08b8822676b7b (diff)
parent8831e8f25f1ff6546ee4a5291b91d599421637b3 (diff)
downloadvcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.tar.gz
vcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.zip
Merge branch 'master' into vcpkg_nuget
Diffstat (limited to 'ports/szip')
-rw-r--r--ports/szip/CONTROL2
-rw-r--r--ports/szip/portfile.cmake5
2 files changed, 3 insertions, 4 deletions
diff --git a/ports/szip/CONTROL b/ports/szip/CONTROL
index a2ea5f275..54ebf9b7b 100644
--- a/ports/szip/CONTROL
+++ b/ports/szip/CONTROL
@@ -1,4 +1,4 @@
Source: szip
-Version: 2.1.1-3
+Version: 2.1.1-6
Homepage: https://support.hdfgroup.org/ftp/lib-external/szip
Description: Szip compression software, providing lossless compression of scientific data
diff --git a/ports/szip/portfile.cmake b/ports/szip/portfile.cmake
index fa10d58a2..ab669cebc 100644
--- a/ports/szip/portfile.cmake
+++ b/ports/szip/portfile.cmake
@@ -1,6 +1,5 @@
include(vcpkg_common_functions)
-#set(SOURCE_PATH ${CURRENT_BUILDTREES_DIR}/src/szip-2.1.1)
vcpkg_download_distfile(ARCHIVE
URLS "https://support.hdfgroup.org/ftp/lib-external/szip/2.1.1/src/szip-2.1.1.tar.gz"
FILENAME "szip-2.1.1.tar.gz"
@@ -17,6 +16,7 @@ vcpkg_extract_source_archive_ex(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
+ PREFER_NINJA
OPTIONS
-DSZIP_INSTALL_DATA_DIR=share/szip/data
-DSZIP_INSTALL_CMAKE_DIR=share/szip
@@ -24,8 +24,7 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-
-vcpkg_fixup_cmake_targets(CONFIG_PATH share/szip)
+vcpkg_fixup_cmake_targets()
file(RENAME ${CURRENT_PACKAGES_DIR}/share/szip/data/COPYING ${CURRENT_PACKAGES_DIR}/share/szip/copyright)