BUG: Do not enable -isystem support for Xcode generator until it is implemented.

This commit is contained in:
Brad King 2006-10-06 09:16:53 -04:00
parent 0e497ef160
commit 7f7374e818
1 changed files with 6 additions and 0 deletions

View File

@ -48,6 +48,12 @@ IF(NOT XCODE)
SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-install_name") SET(CMAKE_SHARED_LIBRARY_SONAME_Fortran_FLAG "-install_name")
ENDIF(NOT XCODE) ENDIF(NOT XCODE)
# Xcode does not support -isystem yet.
IF(XCODE)
SET(CMAKE_INCLUDE_SYSTEM_FLAG_C)
SET(CMAKE_INCLUDE_SYSTEM_FLAG_CXX)
ENDIF(XCODE)
SET(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different <SOURCE> <OBJECT>") SET(CMAKE_MacOSX_Content_COMPILE_OBJECT "\"${CMAKE_COMMAND}\" -E copy_if_different <SOURCE> <OBJECT>")
SET(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w) SET(CMAKE_C_CREATE_SHARED_LIBRARY_FORBIDDEN_FLAGS -w)