diff options
| author | Vollstrecker <werner@vollstreckernet.de> | 2026-01-03 11:01:40 +0100 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-12 11:10:03 -0800 |
| commit | dc35cccfa70e6d0440b065679680e0e9dc909866 (patch) | |
| tree | 0f66ab23a397eb650dc65a9a8ef563353364d59e /contrib/blast | |
| parent | c6d16d4c3b59d2950e15ee557d40ace748ed5b40 (diff) | |
| download | zlib-dc35cccfa70e6d0440b065679680e0e9dc909866.tar.gz zlib-dc35cccfa70e6d0440b065679680e0e9dc909866.tar.bz2 zlib-dc35cccfa70e6d0440b065679680e0e9dc909866.zip | |
CMake: Name tests consistently.
Diffstat (limited to 'contrib/blast')
| -rw-r--r-- | contrib/blast/CMakeLists.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/blast/CMakeLists.txt b/contrib/blast/CMakeLists.txt index 092c5e20..a94b3628 100644 --- a/contrib/blast/CMakeLists.txt +++ b/contrib/blast/CMakeLists.txt | |||
| @@ -92,12 +92,13 @@ if(ZLIB_BLAST_BUILD_STATIC) | |||
| 92 | 92 | ||
| 93 | if(ZLIB_BLAST_BUILD_TESTING) | 93 | if(ZLIB_BLAST_BUILD_TESTING) |
| 94 | enable_testing() | 94 | enable_testing() |
| 95 | add_executable(blast-testStatic blast-test.c) | 95 | add_executable(zlib_blast_testStatic blast-test.c) |
| 96 | target_link_libraries(blast-testStatic blastStatic) | 96 | target_link_libraries(zlib_blast_testStatic |
| 97 | PRIVATE zlib_blast_blastStatic) | ||
| 97 | 98 | ||
| 98 | add_test(NAME blast_testStatic | 99 | add_test(NAME zlib_blast_testStatic |
| 99 | COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/tester.cmake | 100 | COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/tester.cmake |
| 100 | "$<TARGET_FILE:blast-testStatic>" | 101 | "$<TARGET_FILE:zlib_blast_testStatic>" |
| 101 | "${CMAKE_CURRENT_SOURCE_DIR}" | 102 | "${CMAKE_CURRENT_SOURCE_DIR}" |
| 102 | "${CMAKE_CURRENT_BINARY_DIR}") | 103 | "${CMAKE_CURRENT_BINARY_DIR}") |
| 103 | endif(ZLIB_BLAST_BUILD_TESTING) | 104 | endif(ZLIB_BLAST_BUILD_TESTING) |
