summaryrefslogtreecommitdiff
path: root/Utilities/cmzlib
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmzlib')
-rw-r--r--Utilities/cmzlib/CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/cmzlib/CMakeLists.txt b/Utilities/cmzlib/CMakeLists.txt
index a7a4b161ab..793e6f4e9e 100644
--- a/Utilities/cmzlib/CMakeLists.txt
+++ b/Utilities/cmzlib/CMakeLists.txt
@@ -1,7 +1,11 @@
PROJECT(CMZLIB)
INCLUDE_REGULAR_EXPRESSION("^(deflate|inf|trees|zconf|zlib|zutil).*$")
-INCLUDE_DIRECTORIES(${CMZLIB_SOURCE_DIR})
+INCLUDE_DIRECTORIES(
+ "${CMZLIB_SOURCE_DIR}"
+ "${CMZLIB_SOURCE_DIR}/.."
+ "${CMZLIB_BINARY_DIR}/.."
+ )
# Tell the header files included from the .c files that they are being
# built. Used to disable warnings since we do not want to change the