From 418f3e763fed8234ae1498c56dcd574bdd66b020 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sun, 11 Oct 2015 19:17:39 -1000 Subject: [PATCH] OS X fixes --- atdna/CMakeLists.txt | 3 ++- atdna/atdnaConfig.cmake.in | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/atdna/CMakeLists.txt b/atdna/CMakeLists.txt index 0505308..ac53c7a 100644 --- a/atdna/CMakeLists.txt +++ b/atdna/CMakeLists.txt @@ -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 diff --git a/atdna/atdnaConfig.cmake.in b/atdna/atdnaConfig.cmake.in index 0acd5fb..d73e53c 100644 --- a/atdna/atdnaConfig.cmake.in +++ b/atdna/atdnaConfig.cmake.in @@ -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