diff options
author | Brad King <brad.king@kitware.com> | 2003-06-23 12:58:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-23 12:58:58 (GMT) |
commit | dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (patch) | |
tree | ed05e732bd914a3a9048b566f14cdffbba2eeb85 /Tests | |
parent | c5890b8c2e5593752eaceeb19923917618d59e1f (diff) | |
download | CMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.zip CMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.gz CMake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.bz2 |
ENH: Merged use of kwsys library.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 5 | ||||
-rw-r--r-- | Tests/ComplexRelativePaths/Executable/CMakeLists.txt | 5 |
3 files changed, 9 insertions, 6 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 2011feb..fd51ff2 100644 --- a/Tests/Complex/Executable/CMakeLists.txt +++ b/Tests/Complex/Executable/CMakeLists.txt @@ -6,6 +6,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) +LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source/kwsys) # Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) LINK_LIBRARIES(${COMPLEX_LIBS}) @@ -13,9 +14,9 @@ LINK_LIBRARIES(${COMPLEX_LIBS}) ADD_EXECUTABLE(complex complex) IF (UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys) IF (NOT BORLAND) TARGET_LINK_LIBRARIES(complex rpcrt4.lib) ENDIF(NOT BORLAND) diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index 2011feb..fd51ff2 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt @@ -6,6 +6,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) +LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source/kwsys) # Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) LINK_LIBRARIES(${COMPLEX_LIBS}) @@ -13,9 +14,9 @@ LINK_LIBRARIES(${COMPLEX_LIBS}) ADD_EXECUTABLE(complex complex) IF (UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys) IF (NOT BORLAND) TARGET_LINK_LIBRARIES(complex rpcrt4.lib) ENDIF(NOT BORLAND) diff --git a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt index 2011feb..fd51ff2 100644 --- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt +++ b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt @@ -6,6 +6,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DTEST_CXX_FLAGS") # Link to CMake lib LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source) +LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source/kwsys) # Use LINK_LIBRARIES instead of TARGET_LINK_LIBRARIES to SET(COMPLEX_LIBS CMakeTestLibrary;CMakeTestLibraryShared;CMakeTestCLibraryShared) LINK_LIBRARIES(${COMPLEX_LIBS}) @@ -13,9 +14,9 @@ LINK_LIBRARIES(${COMPLEX_LIBS}) ADD_EXECUTABLE(complex complex) IF (UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib ${CMAKE_DL_LIBS}) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys ${CMAKE_DL_LIBS}) ELSE(UNIX) - TARGET_LINK_LIBRARIES(complex CMakeLib) + TARGET_LINK_LIBRARIES(complex CMakeLib cmsys) IF (NOT BORLAND) TARGET_LINK_LIBRARIES(complex rpcrt4.lib) ENDIF(NOT BORLAND) |