mirror of https://github.com/libAthena/athena.git
macOS atdna fix
This commit is contained in:
parent
8d57fe01d2
commit
b57390e304
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue