diff options
-rw-r--r-- | CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 4a1b621..4f2babc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -235,18 +235,18 @@ endif() | |||
235 | # Example binaries | 235 | # Example binaries |
236 | #============================================================================ | 236 | #============================================================================ |
237 | if(ZLIB_BUILD_EXAMPLES) | 237 | if(ZLIB_BUILD_EXAMPLES) |
238 | add_executable(example test/example.c) | 238 | add_executable(zlib_example test/example.c) |
239 | target_link_libraries(example zlib) | 239 | target_link_libraries(zlib_example zlib) |
240 | add_test(example example) | 240 | add_test(zlib_example zlib_example) |
241 | 241 | ||
242 | add_executable(minigzip test/minigzip.c) | 242 | add_executable(minigzip test/minigzip.c) |
243 | target_link_libraries(minigzip zlib) | 243 | target_link_libraries(minigzip zlib) |
244 | 244 | ||
245 | if(HAVE_OFF64_T) | 245 | if(HAVE_OFF64_T) |
246 | add_executable(example64 test/example.c) | 246 | add_executable(zlib_example64 test/example.c) |
247 | target_link_libraries(example64 zlib) | 247 | target_link_libraries(zlib_example64 zlib) |
248 | set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") | 248 | set_target_properties(zlib_example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64") |
249 | add_test(example64 example64) | 249 | add_test(zlib_example64 zlib_example64) |
250 | 250 | ||
251 | add_executable(minigzip64 test/minigzip.c) | 251 | add_executable(minigzip64 test/minigzip.c) |
252 | target_link_libraries(minigzip64 zlib) | 252 | target_link_libraries(minigzip64 zlib) |