diff options
author | Brad King <brad.king@kitware.com> | 2003-06-23 08:58:58 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-06-23 08:58:58 -0400 |
commit | dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (patch) | |
tree | ed05e732bd914a3a9048b566f14cdffbba2eeb85 /Tests/Complex | |
parent | c5890b8c2e5593752eaceeb19923917618d59e1f (diff) | |
download | cmake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.gz |
ENH: Merged use of kwsys library.
Diffstat (limited to 'Tests/Complex')
-rw-r--r-- | Tests/Complex/Executable/CMakeLists.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt index 2011feb56b..fd51ff2bf6 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) |