summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:11:58 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-06 15:11:58 (GMT)
commit851e4ceeb822a2125bada7ec64ec4dfab41e3d55 (patch)
treed8fe02ed329eddce283c960a457eef6288c049e8 /Tests
parent8aa3c35dadb67d63873d44a9ef55391e419376a1 (diff)
downloadCMake-851e4ceeb822a2125bada7ec64ec4dfab41e3d55.zip
CMake-851e4ceeb822a2125bada7ec64ec4dfab41e3d55.tar.gz
CMake-851e4ceeb822a2125bada7ec64ec4dfab41e3d55.tar.bz2
ENH: add test for semi-colon separated lists of libraries
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt4
-rw-r--r--Tests/ComplexOneConfig/Executable/CMakeLists.txt4
-rw-r--r--Tests/ComplexRelativePaths/Executable/CMakeLists.txt4
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