Skip to content

Commit

Permalink
CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelpoluektov committed Nov 24, 2023
1 parent 5a02ec3 commit 53670ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion python/xmos_ai_tools/xinterpreters/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ set(CMAKE_BUILD_TYPE "Release")
project(xtflm_python VERSION 1.0.1)

# This variable is ignored on platforms other than Apple
set(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk)
if(APPLE)
execute_process(COMMAND xcrun --show-sdk-path
OUTPUT_VARIABLE CMAKE_OSX_SYSROOT
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()
# set(CMAKE_OSX_SYSROOT /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk)

#**********************
# Build flags
Expand Down

0 comments on commit 53670ab

Please sign in to comment.