diff options
author | Gregor Jasny <gjasny@googlemail.com> | 2016-11-23 17:19:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-28 18:42:46 (GMT) |
commit | 543dcb0ada5047d789a19dbbffa9028cb1b317c7 (patch) | |
tree | 25d0fb5c6a7a926675ee602e2706d1c073107d97 /Tests/IncludeDirectories/CMakeLists.txt | |
parent | 5cfc2e926af645840c6a0464451af18f08528879 (diff) | |
download | CMake-543dcb0ada5047d789a19dbbffa9028cb1b317c7.zip CMake-543dcb0ada5047d789a19dbbffa9028cb1b317c7.tar.gz CMake-543dcb0ada5047d789a19dbbffa9028cb1b317c7.tar.bz2 |
Revert "Xcode: Obey SYSTEM keyword for includes (#15687)"
Revert commit v3.7.0-rc1~266^2 (Xcode: Obey SYSTEM keyword for includes,
2015-08-31). It worked for C, C++, and Swift but not for GNU Assembly
files for which Xcode has no property to set flags.
Closes: #16449
Diffstat (limited to 'Tests/IncludeDirectories/CMakeLists.txt')
-rw-r--r-- | Tests/IncludeDirectories/CMakeLists.txt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tests/IncludeDirectories/CMakeLists.txt b/Tests/IncludeDirectories/CMakeLists.txt index db18462..4920582 100644 --- a/Tests/IncludeDirectories/CMakeLists.txt +++ b/Tests/IncludeDirectories/CMakeLists.txt @@ -3,9 +3,7 @@ project(IncludeDirectories) if (((CMAKE_C_COMPILER_ID STREQUAL GNU AND CMAKE_C_COMPILER_VERSION VERSION_GREATER 4.4) OR CMAKE_C_COMPILER_ID STREQUAL Clang OR CMAKE_C_COMPILER_ID STREQUAL AppleClang) - AND (CMAKE_GENERATOR STREQUAL "Unix Makefiles" - OR CMAKE_GENERATOR STREQUAL "Ninja" - OR (CMAKE_GENERATOR STREQUAL "Xcode" AND NOT XCODE_VERSION VERSION_LESS 6.0))) + AND (CMAKE_GENERATOR STREQUAL "Unix Makefiles" OR CMAKE_GENERATOR STREQUAL "Ninja")) include(CheckCXXCompilerFlag) check_cxx_compiler_flag(-Wunused-variable run_sys_includes_test) if(run_sys_includes_test) |