Only setting -isystem on Mac OS X
This commit is contained in:
parent
72eab8119d
commit
96e4930684
@ -123,7 +123,7 @@ endif()
|
|||||||
|
|
||||||
# This is a workaround for a CMake bug with include_directories(SYSTEM ...)
|
# This is a workaround for a CMake bug with include_directories(SYSTEM ...)
|
||||||
# on Mac OS X. Bug report: http://public.kitware.com/Bug/view.php?id=10837
|
# on Mac OS X. Bug report: http://public.kitware.com/Bug/view.php?id=10837
|
||||||
if (NOT MSVC)
|
if ( APPLE )
|
||||||
set( CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem " )
|
set( CMAKE_INCLUDE_SYSTEM_FLAG_CXX "-isystem " )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user