diff options
author | Vollstrecker <werner@vollstreckernet.de> | 2024-12-03 15:23:19 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 19:59:10 -0800 |
commit | 7dc2b782067d746aac2a348e411004135fb5fbda (patch) | |
tree | b530e18cd39f7d314ec9c046c108fe5946c22fd4 /CMakeLists.txt | |
parent | a794225144c335a0efe5a97ef7013746613eea46 (diff) | |
download | zlib-7dc2b782067d746aac2a348e411004135fb5fbda.tar.gz zlib-7dc2b782067d746aac2a348e411004135fb5fbda.tar.bz2 zlib-7dc2b782067d746aac2a348e411004135fb5fbda.zip |
CMake: Add test for usage with find_package.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a4a0439..545dafe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -242,4 +242,6 @@ if(ZLIB_BUILD_TESTING) | |||
242 | target_compile_definitions(minigzip64 PRIVATE LARGEFILE64_SOURCE=1) | 242 | target_compile_definitions(minigzip64 PRIVATE LARGEFILE64_SOURCE=1) |
243 | target_link_libraries(minigzip64 ZLIB::ZLIB) | 243 | target_link_libraries(minigzip64 ZLIB::ZLIB) |
244 | endif(HAVE_OFF64_T) | 244 | endif(HAVE_OFF64_T) |
245 | |||
246 | add_subdirectory(test) | ||
245 | endif(ZLIB_BUILD_TESTING) | 247 | endif(ZLIB_BUILD_TESTING) |