macOS atdna fix

This commit is contained in:
Jack Andersen 2018-08-27 17:47:14 -10:00
parent 8d57fe01d2
commit b57390e304
2 changed files with 4 additions and 8 deletions

View File

@ -232,10 +232,8 @@ macro(atdna out)
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
endif()
list(APPEND extraargs
-isysroot ${CMAKE_OSX_SYSROOT}
-isysroot ${CMAKE_OSX_SYSROOT}/usr/include
-I ${COMPILER_DIR}/../..
-I ${COMPILER_DIR}/../include/c++/v1)
-I ${COMPILER_DIR}/../include/c++/v1
-isysroot ${CMAKE_OSX_SYSROOT})
endif()
# Make target

View File

@ -57,10 +57,8 @@ macro(atdna out)
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
endif()
list(APPEND extraargs
-isysroot ${CMAKE_OSX_SYSROOT}
-isysroot ${CMAKE_OSX_SYSROOT}/usr/include
-I ${COMPILER_DIR}/../..
-I ${COMPILER_DIR}/../include/c++/v1)
-I ${COMPILER_DIR}/../include/c++/v1
-isysroot ${CMAKE_OSX_SYSROOT})
endif()
# Make target