diff options
| author | click <none@none> | 2010-08-30 22:58:37 +0200 |
|---|---|---|
| committer | click <none@none> | 2010-08-30 22:58:37 +0200 |
| commit | 511d571d25625ac1f64fab53b6852313b5a0f5b3 (patch) | |
| tree | 74057d695cee55594c675c7cdf910bd9322eb95e /src/tools | |
| parent | 376958d474521e64cd85b681250e2c5178f056e0 (diff) | |
Buildsystem: Clean up target link-definitions a bit
--HG--
branch : trunk
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/map_extractor/CMakeLists.txt | 18 | ||||
| -rw-r--r-- | src/tools/vmap3_assembler/CMakeLists.txt | 18 | ||||
| -rw-r--r-- | src/tools/vmap3_extractor/CMakeLists.txt | 18 |
3 files changed, 15 insertions, 39 deletions
diff --git a/src/tools/map_extractor/CMakeLists.txt b/src/tools/map_extractor/CMakeLists.txt index 30d6c4fcbe6..fa80c7ff3ca 100644 --- a/src/tools/map_extractor/CMakeLists.txt +++ b/src/tools/map_extractor/CMakeLists.txt @@ -32,19 +32,11 @@ add_executable(mapextractor ${sources} ) -if(WIN32) - target_link_libraries(mapextractor - bzip2 - zlib - mpq - ) -else() - target_link_libraries(mapextractor - ${BZIP2_LIBRARIES} - ${ZLIB_LIBRARIES} - mpq - ) -endif() +target_link_libraries(mapextractor + ${BZIP2_LIBRARIES} + ${ZLIB_LIBRARIES} + mpq +) add_dependencies(mapextractor mpq) diff --git a/src/tools/vmap3_assembler/CMakeLists.txt b/src/tools/vmap3_assembler/CMakeLists.txt index 5d764e17a64..34075b5b97b 100644 --- a/src/tools/vmap3_assembler/CMakeLists.txt +++ b/src/tools/vmap3_assembler/CMakeLists.txt @@ -25,19 +25,11 @@ add_executable(vmap3assembler VMapAssembler.cpp) add_dependencies(vmap3assembler mpq) -if(WIN32) - target_link_libraries(vmap3assembler - collision - g3dlib - zlib - ) -else() - target_link_libraries(vmap3assembler - collision - g3dlib - ${ZLIB_LIBRARIES} - ) -endif() +target_link_libraries(vmap3assembler + collision + g3dlib + ${ZLIB_LIBRARIES} +) if( UNIX ) install(TARGETS vmap3assembler DESTINATION bin) diff --git a/src/tools/vmap3_extractor/CMakeLists.txt b/src/tools/vmap3_extractor/CMakeLists.txt index 06db26a23a0..ac15a6ae35c 100644 --- a/src/tools/vmap3_extractor/CMakeLists.txt +++ b/src/tools/vmap3_extractor/CMakeLists.txt @@ -33,19 +33,11 @@ endif() add_executable(vmap3extractor ${sources}) -if(WIN32) - target_link_libraries(vmap3extractor - bzip2 - zlib - mpq - ) -else() - target_link_libraries(vmap3extractor - ${BZIP2_LIBRARIES} - ${ZLIB_LIBRARIES} - mpq - ) -endif() +target_link_libraries(vmap3extractor + ${BZIP2_LIBRARIES} + ${ZLIB_LIBRARIES} + mpq +) add_dependencies(vmap3extractor mpq) |
