summaryrefslogtreecommitdiffstats
path: root/Tests/Module/ExternalData/Data5/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/Module/ExternalData/Data5/CMakeLists.txt')
-rw-r--r--Tests/Module/ExternalData/Data5/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/Module/ExternalData/Data5/CMakeLists.txt b/Tests/Module/ExternalData/Data5/CMakeLists.txt
index ea67f05..b13240d 100644
--- a/Tests/Module/ExternalData/Data5/CMakeLists.txt
+++ b/Tests/Module/ExternalData/Data5/CMakeLists.txt
@@ -6,6 +6,13 @@ ExternalData_Add_Test(Data5.A
-P ${CMAKE_CURRENT_SOURCE_DIR}/Data5Check.cmake
)
ExternalData_Add_Target(Data5.A)
+
+if(CMAKE_XCODE_BUILD_SYSTEM VERSION_GREATER_EQUAL 12)
+ # Xcode's "new build system" does not support multiple targets
+ # producing the same custom command output.
+ return()
+endif()
+
ExternalData_Add_Test(Data5.B
NAME Data5Check.B
COMMAND ${CMAKE_COMMAND}