diff options
| author | Vollstrecker <werner@vollstreckernet.de> | 2026-01-03 10:59:56 +0100 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-12 11:10:01 -0800 |
| commit | c6d16d4c3b59d2950e15ee557d40ace748ed5b40 (patch) | |
| tree | 597692f1a2cfab87ca1105afce98f7c8aafe7246 /contrib/blast | |
| parent | 9444f8641b3dc9f3de11caa2d852400bf4776a22 (diff) | |
| download | zlib-c6d16d4c3b59d2950e15ee557d40ace748ed5b40.tar.gz zlib-c6d16d4c3b59d2950e15ee557d40ace748ed5b40.tar.bz2 zlib-c6d16d4c3b59d2950e15ee557d40ace748ed5b40.zip | |
CMake: Name targets consistently.
Diffstat (limited to 'contrib/blast')
| -rw-r--r-- | contrib/blast/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/contrib/blast/CMakeLists.txt b/contrib/blast/CMakeLists.txt index a917eb8d..092c5e20 100644 --- a/contrib/blast/CMakeLists.txt +++ b/contrib/blast/CMakeLists.txt | |||
| @@ -36,7 +36,7 @@ function(blast_findTestEnv testName) | |||
| 36 | endfunction(blast_findTestEnv testName) | 36 | endfunction(blast_findTestEnv testName) |
| 37 | 37 | ||
| 38 | if(ZLIB_BLAST_BUILD_SHARED) | 38 | if(ZLIB_BLAST_BUILD_SHARED) |
| 39 | add_library(blast SHARED | 39 | add_library(zlib_blast_blast SHARED |
| 40 | blast.c | 40 | blast.c |
| 41 | blast.h) | 41 | blast.h) |
| 42 | 42 | ||
| @@ -56,12 +56,12 @@ if(ZLIB_BLAST_BUILD_SHARED) | |||
| 56 | 56 | ||
| 57 | if(ZLIB_BLAST_BUILD_TESTING) | 57 | if(ZLIB_BLAST_BUILD_TESTING) |
| 58 | enable_testing() | 58 | enable_testing() |
| 59 | add_executable(blast-test blast-test.c) | 59 | add_executable(zlib_blast_blast-test blast-test.c) |
| 60 | target_link_libraries(blast-test blast) | 60 | target_link_libraries(zlib_blast_blast-test PRIVATE zlib_blast_blast) |
| 61 | 61 | ||
| 62 | add_test(NAME blast_blast-test | 62 | add_test(NAME zlib_blast_blast-test |
| 63 | COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/tester.cmake | 63 | COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_SOURCE_DIR}/tester.cmake |
| 64 | "$<TARGET_FILE:blast-test>" | 64 | "$<TARGET_FILE:zlib_blast_blast-test>" |
| 65 | "${CMAKE_CURRENT_SOURCE_DIR}" | 65 | "${CMAKE_CURRENT_SOURCE_DIR}" |
| 66 | "${CMAKE_CURRENT_BINARY_DIR}") | 66 | "${CMAKE_CURRENT_BINARY_DIR}") |
| 67 | 67 | ||
| @@ -69,7 +69,7 @@ if(ZLIB_BLAST_BUILD_SHARED) | |||
| 69 | OR MSYS | 69 | OR MSYS |
| 70 | OR MINGW | 70 | OR MINGW |
| 71 | OR CYGWIN) | 71 | OR CYGWIN) |
| 72 | blast_findtestenv(blast-test) | 72 | blast_findtestenv(zlib_blast_blast-test) |
| 73 | endif( | 73 | endif( |
| 74 | MSVC | 74 | MSVC |
| 75 | OR MSYS | 75 | OR MSYS |
| @@ -79,7 +79,7 @@ if(ZLIB_BLAST_BUILD_SHARED) | |||
| 79 | endif(ZLIB_BLAST_BUILD_SHARED) | 79 | endif(ZLIB_BLAST_BUILD_SHARED) |
| 80 | 80 | ||
| 81 | if(ZLIB_BLAST_BUILD_STATIC) | 81 | if(ZLIB_BLAST_BUILD_STATIC) |
| 82 | add_library(blastStatic STATIC | 82 | add_library(zlib_blast_blastStatic STATIC |
| 83 | blast.c | 83 | blast.c |
| 84 | blast.h) | 84 | blast.h) |
| 85 | 85 | ||
