summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-02-14 15:16:58 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-02-14 15:16:58 (GMT)
commit7bc60c68e768eb92140d02e859795afb9a9c8ad4 (patch)
tree8160fe1eaa699fb41b92b88294bad3a1d5882c64 /Source
parent1416d299ffa430b606baa2740b0f631dc1242683 (diff)
downloadCMake-7bc60c68e768eb92140d02e859795afb9a9c8ad4.zip
CMake-7bc60c68e768eb92140d02e859795afb9a9c8ad4.tar.gz
CMake-7bc60c68e768eb92140d02e859795afb9a9c8ad4.tar.bz2
ENH: only do objc++ test with GNU of course
Diffstat (limited to 'Source')
-rw-r--r--Source/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 94a1cf0..57e9a1d 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -686,7 +686,7 @@ IF(BUILD_TESTING)
--test-command VSExternalInclude)
ENDIF(${CMAKE_GENERATOR} MATCHES "Visual Studio")
- IF (APPLE)
+ IF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
ADD_TEST(objc++ ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMake_SOURCE_DIR}/Tests/Objc++"
@@ -696,7 +696,7 @@ IF(BUILD_TESTING)
--build-project objc++
--test-command objc++
)
- ENDIF (APPLE)
+ ENDIF (APPLE AND CMAKE_COMPILER_IS_GNUCXX)
IF (CTEST_TEST_CTEST AND CMAKE_RUN_LONG_TESTS)
CONFIGURE_FILE("${CMake_SOURCE_DIR}/Tests/CTestTest/test.cmake.in"