From 7f459a664cdb74693af2e0ec4cfd3d1c46b21b76 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 Oct 2013 14:21:25 -0400 Subject: [PATCH] Xcode: Teach BuildDepends test that Xcode >= 5 needs no help Drop the HELP_XCODE workarounds needed on older Xcode versions when using Xcode >= 5. We now expect builds and rebuilds to work using proper dependencies with no special help. --- Tests/BuildDepends/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/BuildDepends/CMakeLists.txt b/Tests/BuildDepends/CMakeLists.txt index 06871543f..972793046 100644 --- a/Tests/BuildDepends/CMakeLists.txt +++ b/Tests/BuildDepends/CMakeLists.txt @@ -13,7 +13,7 @@ project(BuildDepends) set(CMAKE_SUPPRESS_REGENERATION 1) # Xcode needs some help with the fancy dependencies in this test. -if("${CMAKE_GENERATOR}" MATCHES "Xcode") +if(XCODE AND XCODE_VERSION VERSION_LESS 5) set(HELP_XCODE 1) endif() function(help_xcode_depends)