diff options
| -rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index d14ca30..b38dcb1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -22,7 +22,7 @@ option(ZLIB_BUILD_TESTING "Enable Zlib Examples as tests" ON) | |||
| 22 | option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) | 22 | option(ZLIB_BUILD_SHARED "Enable building zlib shared library" ON) |
| 23 | option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) | 23 | option(ZLIB_BUILD_STATIC "Enable building zlib static library" ON) |
| 24 | option(ZLIB_BUILD_MINIZIP "Enable building libminizip contrib library" OFF) | 24 | option(ZLIB_BUILD_MINIZIP "Enable building libminizip contrib library" OFF) |
| 25 | option(ZLIB_INSTALL_LIBRARIES "Enable installation of zlib" ON) | 25 | option(ZLIB_INSTALL "Enable installation of zlib" ON) |
| 26 | option(ZLIB_PREFIX | 26 | option(ZLIB_PREFIX |
| 27 | "prefix for all types and library functions, see zconf.h.in" | 27 | "prefix for all types and library functions, see zconf.h.in" |
| 28 | OFF) | 28 | OFF) |
| @@ -227,7 +227,7 @@ if(ZLIB_BUILD_STATIC) | |||
| 227 | OUTPUT_NAME z${zlib_static_suffix}) | 227 | OUTPUT_NAME z${zlib_static_suffix}) |
| 228 | endif(ZLIB_BUILD_STATIC) | 228 | endif(ZLIB_BUILD_STATIC) |
| 229 | 229 | ||
| 230 | if(ZLIB_INSTALL_LIBRARIES) | 230 | if(ZLIB_INSTALL) |
| 231 | if(ZLIB_BUILD_SHARED) | 231 | if(ZLIB_BUILD_SHARED) |
| 232 | install(TARGETS zlib | 232 | install(TARGETS zlib |
| 233 | COMPONENT Runtime | 233 | COMPONENT Runtime |
| @@ -308,7 +308,7 @@ if(ZLIB_INSTALL_LIBRARIES) | |||
| 308 | install(FILES ${ZLIB_PC} | 308 | install(FILES ${ZLIB_PC} |
| 309 | COMPONENT Development | 309 | COMPONENT Development |
| 310 | DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") | 310 | DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig") |
| 311 | endif(ZLIB_INSTALL_LIBRARIES) | 311 | endif(ZLIB_INSTALL) |
| 312 | 312 | ||
| 313 | #============================================================================ | 313 | #============================================================================ |
| 314 | # Tests | 314 | # Tests |
