aboutsummaryrefslogtreecommitdiff
path: root/ports/gdcm/fix-share-path.patch
diff options
context:
space:
mode:
authorThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
committerThad House <thadhouse1@gmail.com>2019-05-31 13:49:13 -0700
commit788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b (patch)
tree173ade0e6960917458afe9dd9fb0c3c2b7f32051 /ports/gdcm/fix-share-path.patch
parentf483ae4c7fd04eed671a1de595374f84175311e9 (diff)
parent26a9338c5055193915290527eacb37f2ac7fdcb8 (diff)
downloadvcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.tar.gz
vcpkg-788af2a75cfddbb9ef4e4217f4c0b506d25f2f3b.zip
Merge master
Diffstat (limited to 'ports/gdcm/fix-share-path.patch')
-rw-r--r--ports/gdcm/fix-share-path.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/ports/gdcm/fix-share-path.patch b/ports/gdcm/fix-share-path.patch
new file mode 100644
index 000000000..931094681
--- /dev/null
+++ b/ports/gdcm/fix-share-path.patch
@@ -0,0 +1,32 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6ac16ab..842d833 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -246,15 +246,15 @@ if(NOT GDCM_INSTALL_LIB_DIR)
+ endif()
+
+ if(NOT GDCM_INSTALL_DATA_DIR)
+- set(GDCM_INSTALL_DATA_DIR "share/${subdir}")
++ set(GDCM_INSTALL_DATA_DIR "share/${projectname}")
+ endif()
+
+ if(NOT GDCM_INSTALL_INCLUDE_DIR)
+- set(GDCM_INSTALL_INCLUDE_DIR "include/${subdir}")
++ set(GDCM_INSTALL_INCLUDE_DIR "include/${projectname}")
+ endif()
+
+ if(NOT GDCM_INSTALL_DOC_DIR)
+- set(GDCM_INSTALL_DOC_DIR "share/doc/${subdir}")
++ set(GDCM_INSTALL_DOC_DIR "share/doc/${projectname}")
+ endif()
+
+ if(NOT GDCM_INSTALL_MAN_DIR)
+@@ -262,7 +262,7 @@ if(NOT GDCM_INSTALL_MAN_DIR)
+ endif()
+
+ if(NOT GDCM_INSTALL_PACKAGE_DIR)
+- set(GDCM_INSTALL_PACKAGE_DIR ${GDCM_INSTALL_LIB_DIR}/${subdir}
++ set(GDCM_INSTALL_PACKAGE_DIR ${GDCM_INSTALL_LIB_DIR}/${projectname}
+ CACHE INTERNAL "")
+ endif()
+