mirror of https://github.com/libAthena/athena.git
CMAKE_OSX_SYSROOT validation
This commit is contained in:
parent
7da7bd751d
commit
a87832e357
|
@ -167,6 +167,9 @@ macro(atdna out)
|
|||
|
||||
# OSX Extra
|
||||
elseif(APPLE)
|
||||
if (NOT EXISTS "${CMAKE_OSX_SYSROOT}")
|
||||
message(FATAL_ERROR "CMAKE_OSX_SYSROOT not set")
|
||||
endif()
|
||||
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -I ${CMAKE_OSX_SYSROOT}/usr/include -isysroot
|
||||
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue