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")
|
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
||||||
endif()
|
endif()
|
||||||
list(APPEND extraargs
|
list(APPEND extraargs
|
||||||
-isysroot ${CMAKE_OSX_SYSROOT}
|
-I ${COMPILER_DIR}/../include/c++/v1
|
||||||
-isysroot ${CMAKE_OSX_SYSROOT}/usr/include
|
-isysroot ${CMAKE_OSX_SYSROOT})
|
||||||
-I ${COMPILER_DIR}/../..
|
|
||||||
-I ${COMPILER_DIR}/../include/c++/v1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Make target
|
# Make target
|
||||||
|
|
|
@ -57,10 +57,8 @@ macro(atdna out)
|
||||||
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
||||||
endif()
|
endif()
|
||||||
list(APPEND extraargs
|
list(APPEND extraargs
|
||||||
-isysroot ${CMAKE_OSX_SYSROOT}
|
-I ${COMPILER_DIR}/../include/c++/v1
|
||||||
-isysroot ${CMAKE_OSX_SYSROOT}/usr/include
|
-isysroot ${CMAKE_OSX_SYSROOT})
|
||||||
-I ${COMPILER_DIR}/../..
|
|
||||||
-I ${COMPILER_DIR}/../include/c++/v1)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Make target
|
# Make target
|
||||||
|
|
Loading…
Reference in New Issue