summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-06-06 14:01:07 (GMT)
committerBrad King <brad.king@kitware.com>2014-06-06 14:28:32 (GMT)
commit0366ba5db62d99423e16c284cb7d4200d985ca1f (patch)
tree7904dd72aaaa3b21100a69263c91b0a814120ff5 /Tests/RunCMake/TargetSources/RunCMakeTest.cmake
parent618b7df5bf7767561822c1673a9640860a2613a1 (diff)
downloadCMake-0366ba5db62d99423e16c284cb7d4200d985ca1f.zip
CMake-0366ba5db62d99423e16c284cb7d4200d985ca1f.tar.gz
CMake-0366ba5db62d99423e16c284cb7d4200d985ca1f.tar.bz2
Tests: Fix RunCMake.TargetSources on Xcode 1.5
Xcode 1.5 does not support multiple configurations. The generator also adds some sources internally that cause extra OriginDebug output. Update the expected output to tolerate it.
Diffstat (limited to 'Tests/RunCMake/TargetSources/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/TargetSources/RunCMakeTest.cmake3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/RunCMake/TargetSources/RunCMakeTest.cmake b/Tests/RunCMake/TargetSources/RunCMakeTest.cmake
index 01e505c..1d2eaec 100644
--- a/Tests/RunCMake/TargetSources/RunCMakeTest.cmake
+++ b/Tests/RunCMake/TargetSources/RunCMakeTest.cmake
@@ -1,7 +1,6 @@
include(RunCMake)
-if(RunCMake_GENERATOR MATCHES Xcode
- OR RunCMake_GENERATOR MATCHES "Visual Studio")
+if(RunCMake_GENERATOR MATCHES "Visual Studio|Xcode" AND NOT XCODE_BELOW_2)
run_cmake(ConfigNotAllowed)
run_cmake(OriginDebugIDE)
else()