diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-02-08 11:48:35 (GMT) |
---|---|---|
committer | Gregor Jasny <gjasny@googlemail.com> | 2016-02-08 11:48:35 (GMT) |
commit | 5b04aa31b8d791bc5e162fbc8c89b2d0058c8572 (patch) | |
tree | 52f585e3b312edeeb942780324c12fe05dc80f1f /Tests/ComplexOneConfig | |
parent | 2cae5128fdc6316a7f0913cb89ec467b33b9715b (diff) | |
download | CMake-5b04aa31b8d791bc5e162fbc8c89b2d0058c8572.zip CMake-5b04aa31b8d791bc5e162fbc8c89b2d0058c8572.tar.gz CMake-5b04aa31b8d791bc5e162fbc8c89b2d0058c8572.tar.bz2 |
Xcode: Disable test for system include dirs
Diffstat (limited to 'Tests/ComplexOneConfig')
-rw-r--r-- | Tests/ComplexOneConfig/Executable/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/ComplexOneConfig/Executable/CMakeLists.txt b/Tests/ComplexOneConfig/Executable/CMakeLists.txt index b2307b2..4897b48 100644 --- a/Tests/ComplexOneConfig/Executable/CMakeLists.txt +++ b/Tests/ComplexOneConfig/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() |