diff options
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 66dd7281..8aa8751f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -189,8 +189,9 @@ if(ZLIB_BUILD_SHARED) | |||
| 189 | EXPORT_NAME ZLIB | 189 | EXPORT_NAME ZLIB |
| 190 | OUTPUT_NAME z) | 190 | OUTPUT_NAME z) |
| 191 | if(UNIX | 191 | if(UNIX |
| 192 | AND NOT APPLE | 192 | AND NOT APPLE |
| 193 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX)) | 193 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX) |
| 194 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL SunOS)) | ||
| 194 | # On unix-like platforms the library is almost always called libz | 195 | # On unix-like platforms the library is almost always called libz |
| 195 | set_target_properties( | 196 | set_target_properties( |
| 196 | zlib | 197 | zlib |
| @@ -199,7 +200,8 @@ if(ZLIB_BUILD_SHARED) | |||
| 199 | endif( | 200 | endif( |
| 200 | UNIX | 201 | UNIX |
| 201 | AND NOT APPLE | 202 | AND NOT APPLE |
| 202 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX)) | 203 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL AIX) |
| 204 | AND NOT (CMAKE_SYSTEM_NAME STREQUAL SunOS)) | ||
| 203 | endif(ZLIB_BUILD_SHARED) | 205 | endif(ZLIB_BUILD_SHARED) |
| 204 | 206 | ||
| 205 | if(ZLIB_BUILD_STATIC) | 207 | if(ZLIB_BUILD_STATIC) |
