diff options
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 |
