diff options
| author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:08 -0700 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:27:08 -0700 |
| commit | 7df877eccdd826e94df53215f65dee639428e83f (patch) | |
| tree | 11ed5070798961e28a4c69d9272ecaada500abc3 /CMakeLists.txt | |
| parent | dc5a43ebfadb6b775f6e64bfeb5a461c66acb394 (diff) | |
| download | zlib-1.2.3.7.tar.gz zlib-1.2.3.7.tar.bz2 zlib-1.2.3.7.zip | |
zlib 1.2.3.7v1.2.3.7
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 5ce81be..ea0fa99 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -59,14 +59,6 @@ if(NOT HAVE_ERRNO_H) | |||
| 59 | add_definitions(-DNO_ERRNO_H) | 59 | add_definitions(-DNO_ERRNO_H) |
| 60 | endif() | 60 | endif() |
| 61 | 61 | ||
| 62 | # | ||
| 63 | # Create the zlibdefs.h file. | ||
| 64 | # Note: we create it in CMAKE_CURRENT_SOURCE_DIR instead | ||
| 65 | # of CMAKE_CURRENT_BINARY_DIR because an empty zlibdefs.h | ||
| 66 | # is shipped with zlib in the source tree. | ||
| 67 | configure_file(${CMAKE_CURRENT_SOURCE_DIR}/zlibdefs.h.cmakein | ||
| 68 | ${CMAKE_CURRENT_SOURCE_DIR}/zlibdefs.h) | ||
| 69 | |||
| 70 | if(MSVC) | 62 | if(MSVC) |
| 71 | set(CMAKE_DEBUG_POSTFIX "d") | 63 | set(CMAKE_DEBUG_POSTFIX "d") |
| 72 | add_definitions(-D_CRT_SECURE_NO_DEPRECATE) | 64 | add_definitions(-D_CRT_SECURE_NO_DEPRECATE) |
| @@ -80,7 +72,6 @@ endif() | |||
| 80 | set(ZLIB_PUBLIC_HDRS | 72 | set(ZLIB_PUBLIC_HDRS |
| 81 | zconf.h | 73 | zconf.h |
| 82 | zlib.h | 74 | zlib.h |
| 83 | zlibdefs.h | ||
| 84 | ) | 75 | ) |
| 85 | set(ZLIB_PRIVATE_HDRS | 76 | set(ZLIB_PRIVATE_HDRS |
| 86 | crc32.h | 77 | crc32.h |
