aboutsummaryrefslogtreecommitdiff
path: root/ports/gdcm2/gdcm-include-dir.patch
blob: 34d574d47d98c5ac8114ed70820005e2ef3a8ca5 (plain)
1
2
3
4
5
6
7
8
9
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")