aboutsummaryrefslogtreecommitdiff
path: root/ports/gdcm2/gdcm-include-dir.patch
diff options
context:
space:
mode:
authorShinya Onogi <shinya.onogi.1979@ieee.org>2017-03-20 02:10:43 +0900
committerShinya Onogi <shinya.onogi.1979@ieee.org>2017-03-20 02:10:43 +0900
commit0b1740d11976688157be1e8262e1ab6f052c31c1 (patch)
tree5026570d374454ae366e21f33b4c74fa1dd53d31 /ports/gdcm2/gdcm-include-dir.patch
parentc433841ef5bcb42b460b95b48c2d425ebd746e1a (diff)
downloadvcpkg-0b1740d11976688157be1e8262e1ab6f052c31c1.tar.gz
vcpkg-0b1740d11976688157be1e8262e1ab6f052c31c1.zip
add a new port, GDCM
Diffstat (limited to 'ports/gdcm2/gdcm-include-dir.patch')
-rw-r--r--ports/gdcm2/gdcm-include-dir.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/ports/gdcm2/gdcm-include-dir.patch b/ports/gdcm2/gdcm-include-dir.patch
new file mode 100644
index 000000000..34d574d47
--- /dev/null
+++ b/ports/gdcm2/gdcm-include-dir.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -409,6 +409,7 @@
+ if(GDCM_USE_SYSTEM_ZLIB)
+ # If user say so, then this is a requirement !
+ find_package(ZLIB REQUIRED)
++ include_directories(${ZLIB_INCLUDE_DIR})
+ set(GDCM_ZLIB_LIBRARIES ${ZLIB_LIBRARIES})
+ else()
+ set(GDCM_ZLIB_LIBRARIES "gdcmzlib")