diff options
author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-30 11:06:40 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 20:02:26 -0800 |
commit | 8fee881981d472caa96d8f3c4d75f6067dbb2944 (patch) | |
tree | 64f74cfd3208dcadf2fc1ff6d00fa84920a47ccb | |
parent | 5fd63442f92ad7a0c90d008c7daac7a726fa9e19 (diff) | |
download | zlib-8fee881981d472caa96d8f3c4d75f6067dbb2944.tar.gz zlib-8fee881981d472caa96d8f3c4d75f6067dbb2944.tar.bz2 zlib-8fee881981d472caa96d8f3c4d75f6067dbb2944.zip |
CMake: Clean up formatting.
-rw-r--r-- | contrib/minizip/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/contrib/minizip/CMakeLists.txt b/contrib/minizip/CMakeLists.txt index e4d4e21..d394ff9 100644 --- a/contrib/minizip/CMakeLists.txt +++ b/contrib/minizip/CMakeLists.txt | |||
@@ -71,6 +71,7 @@ unset(CMAKE_REQUIRED_DEFINITIONS) # clear variable | |||
71 | 71 | ||
72 | # | 72 | # |
73 | # Check visibility attribute is supported | 73 | # Check visibility attribute is supported |
74 | # | ||
74 | if(MSVC) | 75 | if(MSVC) |
75 | set(CMAKE_REQUIRED_FLAGS "-WX") | 76 | set(CMAKE_REQUIRED_FLAGS "-WX") |
76 | else(MSVC) | 77 | else(MSVC) |
@@ -185,7 +186,6 @@ if(MINIZIP_BUILD_SHARED) | |||
185 | $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS> | 186 | $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS> |
186 | $<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>) | 187 | $<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>) |
187 | target_link_libraries(minizip PRIVATE MINIZIP::minizip) | 188 | target_link_libraries(minizip PRIVATE MINIZIP::minizip) |
188 | |||
189 | add_executable(miniunzip | 189 | add_executable(miniunzip |
190 | ${MINIUNZIP_SRCS} | 190 | ${MINIUNZIP_SRCS} |
191 | ${MINIUNZIP_HDRS}) | 191 | ${MINIUNZIP_HDRS}) |
@@ -199,7 +199,6 @@ if(MINIZIP_BUILD_SHARED) | |||
199 | endif(MINIZIP_BUILD_SHARED) | 199 | endif(MINIZIP_BUILD_SHARED) |
200 | 200 | ||
201 | if(MINIZIP_BUILD_STATIC) | 201 | if(MINIZIP_BUILD_STATIC) |
202 | |||
203 | add_library(libminizipstatic STATIC | 202 | add_library(libminizipstatic STATIC |
204 | ${LIBMINIZIP_SRCS} | 203 | ${LIBMINIZIP_SRCS} |
205 | ${LIBMINIZIP_HDRS}) | 204 | ${LIBMINIZIP_HDRS}) |
@@ -241,7 +240,6 @@ if(MINIZIP_BUILD_STATIC) | |||
241 | $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS> | 240 | $<$<BOOL:${MSVC}>:_CRT_SECURE_NO_WARNINGS> |
242 | $<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>) | 241 | $<$<BOOL:NOT:${HAVE_FOPEN64}>:USE_FILE32API=1>) |
243 | target_link_libraries(minizipstatic PRIVATE MINIZIP::minizipstatic) | 242 | target_link_libraries(minizipstatic PRIVATE MINIZIP::minizipstatic) |
244 | |||
245 | add_executable(miniunzipstatic | 243 | add_executable(miniunzipstatic |
246 | ${MINIUNZIP_SRCS} | 244 | ${MINIUNZIP_SRCS} |
247 | ${MINIUNZIP_HDRS}) | 245 | ${MINIUNZIP_HDRS}) |