summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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