summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-03-08 18:05:02 (GMT)
committerBrad King <brad.king@kitware.com>2007-03-08 18:05:02 (GMT)
commitfd3688fa7260e06c9bd8e23bb6f08e430bff4301 (patch)
tree77a6792f01de19a593d7125f2999aa45f655efe1 /Source/CMakeLists.txt
parent7157743d69761c433af5ecbca37dede63c0603af (diff)
downloadCMake-fd3688fa7260e06c9bd8e23bb6f08e430bff4301.zip
CMake-fd3688fa7260e06c9bd8e23bb6f08e430bff4301.tar.gz
CMake-fd3688fa7260e06c9bd8e23bb6f08e430bff4301.tar.bz2
ENH: Fixed recursive make call target escaping for Borland to support SubDirSpaces test.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index faf8112..c96e360 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -1012,7 +1012,7 @@ IF(BUILD_TESTING)
# some old versions of make simply cannot handle spaces in paths
IF (MAKE_IS_GNU OR
"${CMAKE_TEST_MAKEPROGRAM}" MATCHES "nmake|gmake|wmake" OR
- "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode")
+ "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode|Borland")
ADD_TEST(SubDirSpaces ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/SubDirSpaces"
@@ -1028,7 +1028,7 @@ IF(BUILD_TESTING)
)
ENDIF (MAKE_IS_GNU OR
"${CMAKE_TEST_MAKEPROGRAM}" MATCHES "nmake|gmake|wmake" OR
- "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode")
+ "${CMAKE_TEST_GENERATOR}" MATCHES "Visual Studio|XCode|Borland")
IF (WIN32)
ADD_TEST(SubDir ${CMAKE_CTEST_COMMAND}