summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2002-03-27 15:55:02 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2002-03-27 15:55:02 (GMT)
commit6d5bef7dafc392fe5a7dba6a9ebe29f7b7383951 (patch)
treedbaa7520a8df8e5386fe47b6d206f1a1858f8c0f /Tests/ComplexOneConfig
parent07578f938de02f910feb19987107517a897dadb8 (diff)
downloadCMake-6d5bef7dafc392fe5a7dba6a9ebe29f7b7383951.zip
CMake-6d5bef7dafc392fe5a7dba6a9ebe29f7b7383951.tar.gz
CMake-6d5bef7dafc392fe5a7dba6a9ebe29f7b7383951.tar.bz2
FIX: do not use CMAKE_CFG_INTDIR, just use LINK_DIRECTORIES
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/Executable/CMakeLists.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
index c4d5f3c..801c777 100644
--- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
@@ -8,16 +8,14 @@ TARGET_LINK_LIBRARIES(complex ${COMPLEX_LIBS})
#
# Link to CMake lib
+# Specify the same one for debug/optimized to increase coverage
#
-FIND_LIBRARY(CMAKE_LIB
- CMakeLib
- ${Wrapping_BINARY_DIR}/../../Source/${CMAKE_CFG_INTDIR})
+LINK_DIRECTORIES(${Complex_BINARY_DIR}/../../Source)
-# Specify the same one for debug/optimized to increase coverage
TARGET_LINK_LIBRARIES(complex
- ${CMAKE_LIB}
- debug ${CMAKE_LIB}
- optimized ${CMAKE_LIB})
+ CMakeLib
+ debug CMakeLib
+ optimized CMakeLib)
#
# Output the files required by 'complex' to a file.
@@ -35,4 +33,3 @@ INSTALL_TARGETS(/tmp complex)
INSTALL_PROGRAMS(/tmp complex)
SOURCE_GROUP(A_GROUP ".cxx")
-