mirror of
https://github.com/libAthena/athena.git
synced 2025-07-01 10:53:34 +00:00
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…
x
Reference in New Issue
Block a user