OS X fixes

This commit is contained in:
Jack Andersen 2015-10-11 19:17:39 -10:00
parent e6dedd0e6c
commit 418f3e763f
2 changed files with 4 additions and 2 deletions

View File

@ -167,7 +167,8 @@ macro(atdna out)
# OSX Extra
elseif(APPLE)
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot /)
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
endif()
# Make target

View File

@ -45,7 +45,8 @@ macro(atdna out)
# OSX Extra
elseif(APPLE)
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot /)
list(APPEND extraargs -isysroot ${CMAKE_OSX_SYSROOT} -isysroot
${CMAKE_OSX_SYSROOT}/../../../../../Toolchains/XcodeDefault.xctoolchain)
endif()
# Make target