mirror of
https://github.com/libAthena/athena.git
synced 2025-12-13 07:06:27 +00:00
CMAKE_OSX_SYSROOT validation
This commit is contained in:
@@ -167,6 +167,9 @@ macro(atdna out)
|
|||||||
|
|
||||||
# OSX Extra
|
# OSX Extra
|
||||||
elseif(APPLE)
|
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
|
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -I ${CMAKE_OSX_SYSROOT}/usr/include -isysroot
|
||||||
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
|
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user