From 851e4ceeb822a2125bada7ec64ec4dfab41e3d55 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 6 Mar 2002 10:11:58 -0500 Subject: ENH: add test for semi-colon separated lists of libraries --- Tests/Complex/Executable/CMakeLists.txt | 4 ++-- Tests/ComplexOneConfig/Executable/CMakeLists.txt | 4 ++-- Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 366fe38..4d0e845 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -3,8 +3,8 @@ # ADD_EXECUTABLE(complex complex) -TARGET_LINK_LIBRARIES(complex CMakeTestLibrary) -TARGET_LINK_LIBRARIES(complex CMakeTestLibraryShared) +SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared) +TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) # # Link to CMake lib diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 366fe38..4d0e845 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -3,8 +3,8 @@ # ADD_EXECUTABLE(complex complex) -TARGET_LINK_LIBRARIES(complex CMakeTestLibrary) -TARGET_LINK_LIBRARIES(complex CMakeTestLibraryShared) +SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared) +TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) # # Link to CMake lib diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index 366fe38..4d0e845 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -3,8 +3,8 @@ # ADD_EXECUTABLE(complex complex) -TARGET_LINK_LIBRARIES(complex CMakeTestLibrary) -TARGET_LINK_LIBRARIES(complex CMakeTestLibraryShared) +SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared) +TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) # # Link to CMake lib -- cgit v0.12