diff options
author | Vollstrecker <werner@vollstreckernet.de> | 2025-01-03 09:50:16 +0100 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2025-01-31 20:02:26 -0800 |
commit | 8b8a124eb42b027dceab01c7d4942a18c756d28e (patch) | |
tree | bc8d9427d1689be996af87276e3a6d3371cae267 /test/add_subdirectory_test.cmake.in | |
parent | 4f2671d50cf0f8632c9f6e84b884aba5031e4016 (diff) | |
download | zlib-8b8a124eb42b027dceab01c7d4942a18c756d28e.tar.gz zlib-8b8a124eb42b027dceab01c7d4942a18c756d28e.tar.bz2 zlib-8b8a124eb42b027dceab01c7d4942a18c756d28e.zip |
CMake: Add cmake-format.yaml and reformat the cmake files.
Diffstat (limited to 'test/add_subdirectory_test.cmake.in')
-rw-r--r-- | test/add_subdirectory_test.cmake.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/add_subdirectory_test.cmake.in b/test/add_subdirectory_test.cmake.in index d5e3a05..c7d20f8 100644 --- a/test/add_subdirectory_test.cmake.in +++ b/test/add_subdirectory_test.cmake.in | |||
@@ -1,6 +1,7 @@ | |||
1 | cmake_minimum_required(VERSION 3.10) | 1 | cmake_minimum_required(VERSION 3.10) |
2 | 2 | ||
3 | project(zlib_find_package_test | 3 | project( |
4 | zlib_find_package_test | ||
4 | LANGUAGES C | 5 | LANGUAGES C |
5 | VERSION @zlib_VERSION@) | 6 | VERSION @zlib_VERSION@) |
6 | 7 | ||
@@ -23,6 +24,5 @@ endif(ZLIB_BUILD_SHARED) | |||
23 | if(ZLIB_BUILD_STATIC) | 24 | if(ZLIB_BUILD_STATIC) |
24 | add_executable(test_example_static @zlib_SOURCE_DIR@/test/example.c) | 25 | add_executable(test_example_static @zlib_SOURCE_DIR@/test/example.c) |
25 | target_link_libraries(test_example_static ZLIB::ZLIBSTATIC) | 26 | target_link_libraries(test_example_static ZLIB::ZLIBSTATIC) |
26 | add_test(NAME zlib_test_example_static | 27 | add_test(NAME zlib_test_example_static COMMAND test_example_static) |
27 | COMMAND test_example_static) | ||
28 | endif(@ZLIB_BUILD_STATIC) | 28 | endif(@ZLIB_BUILD_STATIC) |