diff options
author | Brad King <brad.king@kitware.com> | 2005-02-10 12:46:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-02-10 12:46:34 (GMT) |
commit | f9e61d1aa44d19afda2ea46b026463abada80b20 (patch) | |
tree | 251260007656b941d59f088f9c26582f92cd3925 /Utilities/cmzlib/CMakeLists.txt | |
parent | 816d73f23f18933d831118edafdfcdb15ac73090 (diff) | |
download | CMake-f9e61d1aa44d19afda2ea46b026463abada80b20.zip CMake-f9e61d1aa44d19afda2ea46b026463abada80b20.tar.gz CMake-f9e61d1aa44d19afda2ea46b026463abada80b20.tar.bz2 |
COMP: Disabling warnings in zlib code to avoid changing it too much.
Diffstat (limited to 'Utilities/cmzlib/CMakeLists.txt')
-rw-r--r-- | Utilities/cmzlib/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Utilities/cmzlib/CMakeLists.txt b/Utilities/cmzlib/CMakeLists.txt index 1c8c6e5..02f8e10 100644 --- a/Utilities/cmzlib/CMakeLists.txt +++ b/Utilities/cmzlib/CMakeLists.txt @@ -3,6 +3,14 @@ INCLUDE_REGULAR_EXPRESSION("^(deflate|inf|trees|zconf|zlib|zutil).*$") INCLUDE_DIRECTORIES(${CMZLIB_SOURCE_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 +# code much. +ADD_DEFINITIONS(-DCMZLIB_IN_C) + +# Match all headers for dependencies but complain about none. +INCLUDE_REGULAR_EXPRESSION("^.*$" "^$") + # source files for zlib SET(ZLIB_SRCS adler32.c gzio.c inftrees.c uncompr.c |