Xcode: Disable test for system include dirs

This commit is contained in:
Gregor Jasny 2016-02-08 12:48:35 +01:00
parent 2cae5128fd
commit 5b04aa31b8
2 changed files with 4 additions and 2 deletions

View File

@ -146,7 +146,8 @@ add_dependencies(notInAllCustom notInAllExe)
# #
add_subdirectory(Temp) 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) add_executable(testSystemDir testSystemDir.cxx)
set_target_properties(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror") set_target_properties(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror")
endif() endif()

View File

@ -146,7 +146,8 @@ add_dependencies(notInAllCustom notInAllExe)
# #
add_subdirectory(Temp) 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) add_executable(testSystemDir testSystemDir.cxx)
set_target_properties(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror") set_target_properties(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror")
endif() endif()