summaryrefslogtreecommitdiffstats
path: root/Tests/ComplexRelativePaths
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/ComplexRelativePaths')
-rw-r--r--Tests/ComplexRelativePaths/CMakeLists.txt5
-rw-r--r--Tests/ComplexRelativePaths/Executable/CMakeLists.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/Tests/ComplexRelativePaths/CMakeLists.txt b/Tests/ComplexRelativePaths/CMakeLists.txt
index 4b05d07..d9c7568 100644
--- a/Tests/ComplexRelativePaths/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/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/ComplexRelativePaths/Executable/CMakeLists.txt b/Tests/ComplexRelativePaths/Executable/CMakeLists.txt
index ce3619d..2779fcb 100644
--- a/Tests/ComplexRelativePaths/Executable/CMakeLists.txt
+++ b/Tests/ComplexRelativePaths/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)