summaryrefslogtreecommitdiff
path: root/Tests/Complex
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2016-02-08 12:48:35 +0100
committerGregor Jasny <gjasny@googlemail.com>2016-02-08 12:48:35 +0100
commit5b04aa31b8d791bc5e162fbc8c89b2d0058c8572 (patch)
tree52f585e3b312edeeb942780324c12fe05dc80f1f /Tests/Complex
parent2cae5128fdc6316a7f0913cb89ec467b33b9715b (diff)
downloadcmake-5b04aa31b8d791bc5e162fbc8c89b2d0058c8572.tar.gz
Xcode: Disable test for system include dirs
Diffstat (limited to 'Tests/Complex')
-rw-r--r--Tests/Complex/Executable/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/Complex/Executable/CMakeLists.txt b/Tests/Complex/Executable/CMakeLists.txt
index a1f8e68a77..c30dcbc407 100644
--- a/Tests/Complex/Executable/CMakeLists.txt
+++ b/Tests/Complex/Executable/CMakeLists.txt
@@ -146,7 +146,8 @@ add_dependencies(notInAllCustom notInAllExe)
#
add_subdirectory(Temp)
-if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
+if(CMAKE_COMPILER_IS_GNUCXX AND CMAKE_INCLUDE_SYSTEM_FLAG_CXX
+ AND NOT XCODE) # XCODE is excluded due to #15687
add_executable(testSystemDir testSystemDir.cxx)
set_target_properties(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror")
endif()