From 45f459459cb0d7c711f4a51674aa72c22da39600 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Thu, 11 Apr 2002 11:30:05 -0400 Subject: ENH: increase coverage --- Tests/Complex/Executable/CMakeLists.txt | 4 +++- Tests/ComplexOneConfig/Executable/CMakeLists.txt | 4 +++- Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 93d1abb..1533f3e 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -6,7 +6,9 @@ SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS "-DFILE_HAS_EXTRA_COMPILE_FLAGS") ADD_EXECUTABLE(complex complex) SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) -TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) + +# Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to +LINK_LIBRARIES(${COMPLEX_LIBS}) # # Link to CMake lib diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 93d1abb..1533f3e 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -6,7 +6,9 @@ SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS "-DFILE_HAS_EXTRA_COMPILE_FLAGS") ADD_EXECUTABLE(complex complex) SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) -TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) + +# Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to +LINK_LIBRARIES(${COMPLEX_LIBS}) # # Link to CMake lib diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index 93d1abb..1533f3e 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -6,7 +6,9 @@ SET_SOURCE_FILES_PROPERTIES(complex COMPILE_FLAGS "-DFILE_HAS_EXTRA_COMPILE_FLAGS") ADD_EXECUTABLE(complex complex) SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) -TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS}) + +# Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to +LINK_LIBRARIES(${COMPLEX_LIBS}) # # Link to CMake lib -- cgit v0.12