mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: Adding SYSTEM option to INCLUDE_DIRECTORIES command. This addresses bug #3462.
This commit is contained in:
@@ -118,6 +118,11 @@ ADD_DEPENDENCIES(notInAllCustom notInAllExe)
|
||||
#
|
||||
ADD_SUBDIRECTORY(Temp)
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
ADD_EXECUTABLE(testSystemDir testSystemDir.cxx)
|
||||
SET_TARGET_PROPERTIES(testSystemDir PROPERTIES COMPILE_FLAGS "-Werror")
|
||||
ENDIF(CMAKE_COMPILER_IS_GNUCXX)
|
||||
|
||||
#
|
||||
# Extra coverage.Not used.
|
||||
#
|
||||
|
||||
3
Tests/ComplexOneConfig/Executable/testSystemDir.cxx
Normal file
3
Tests/ComplexOneConfig/Executable/testSystemDir.cxx
Normal file
@@ -0,0 +1,3 @@
|
||||
#include <testSystemDir.h>
|
||||
|
||||
int main() { return foo(); }
|
||||
Reference in New Issue
Block a user