Skip to content

Commit

Permalink
Remove set(CMAKE_OSX_ARCHITECTURES "x86_64") on MacOS
Browse files Browse the repository at this point in the history
  • Loading branch information
nikmikov authored and mjjbell committed Jan 9, 2022
1 parent 1e70b64 commit c0b79a8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,8 +409,6 @@ endif()
if(APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10")
execute_process(COMMAND xcrun --sdk macosx --show-sdk-path OUTPUT_VARIABLE CMAKE_OSX_SYSROOT OUTPUT_STRIP_TRAILING_WHITESPACE)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
message(STATUS "Set Architecture to x64 on OS X")
exec_program(uname ARGS -v OUTPUT_VARIABLE DARWIN_VERSION)
string(REGEX MATCH "[0-9]+" DARWIN_VERSION ${DARWIN_VERSION})
if(OSXLIBSTD)
Expand Down

0 comments on commit c0b79a8

Please sign in to comment.