summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexOneConfig
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-08-22 20:57:45 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-08-22 20:57:45 (GMT)
commitfaf4b68ca91b6bc068dce1f988a2a36d612c60f5 (patch)
tree6d9161f71238cfbdd4e9d3ebb69974a495cde092 /Tests/ComplexOneConfig
parent0fdfab32d1c20c93dad0edc9e3f4b2b5cf4d0cf3 (diff)
downloadCMake-faf4b68ca91b6bc068dce1f988a2a36d612c60f5.zip
CMake-faf4b68ca91b6bc068dce1f988a2a36d612c60f5.tar.gz
CMake-faf4b68ca91b6bc068dce1f988a2a36d612c60f5.tar.bz2
BUG: fix for borland and a shared CMakeLib
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r--Tests/ComplexOneConfig/CMakeLists.txt5
-rw-r--r--Tests/ComplexOneConfig/Executable/CMakeLists.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/CMakeLists.txt b/Tests/ComplexOneConfig/CMakeLists.txt
index 4b05d07..d9c7568 100644
--- a/Tests/ComplexOneConfig/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/CMakeLists.txt
@@ -3,6 +3,11 @@
#
PROJECT (Complex)
+IF(BORLAND)
+ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tWR")
+ SET(CMAKE_LINKER_FLAGS "${CMAKE_LINKER_FLAGS} -tWR")
+ENDIF(BORLAND)
+
#
# Define a macro
#
diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
index ce3619d..2779fcb 100644
--- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt
+++ b/Tests/ComplexOneConfig/Executable/CMakeLists.txt
@@ -22,7 +22,7 @@ IF(WIN32)
IF (CMAKE_DLL)
CONFIGURE_FILE(
${CMAKE_DLL}
- ${Complex_BINARY_DIR}/CMakeLib.dll COPYONLY)
+ ${Complex_BINARY_DIR}/bin/CMakeLib.dll COPYONLY)
ENDIF (CMAKE_DLL)
ENDIF (WIN32)