summaryrefslogtreecommitdiff
path: root/Tests/Complex
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-06-23 08:58:58 -0400
committerBrad King <brad.king@kitware.com>2003-06-23 08:58:58 -0400
commitdc3fd5c26727ae81b57c4fa2b5559b6c1e36840c (patch)
treeed05e732bd914a3a9048b566f14cdffbba2eeb85 /Tests/Complex
parentc5890b8c2e5593752eaceeb19923917618d59e1f (diff)
downloadcmake-dc3fd5c26727ae81b57c4fa2b5559b6c1e36840c.tar.gz
ENH: Merged use of kwsys library.
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt5
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)