Commit 95505eef authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Force CMAKE_OSX_ARCHITECTURES to x86_64 for Python module.

parent 4c3e4466
...@@ -61,7 +61,7 @@ if (UNIX) ...@@ -61,7 +61,7 @@ if (UNIX)
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_STRIP_TRAILING_WHITESPACE
) )
list(GET MAC_PLATFORM 0 CMAKE_OSX_DEPLOYMENT_TARGET) list(GET MAC_PLATFORM 0 CMAKE_OSX_DEPLOYMENT_TARGET)
list(GET MAC_PLATFORM 1 CMAKE_OSX_ARCHITECTURES) set(CMAKE_OSX_ARCHITECTURES "x86_64")
set(LINPHONE_BUILDER_CPPFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}") set(LINPHONE_BUILDER_CPPFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
set(LINPHONE_BUILDER_OBJCFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}") set(LINPHONE_BUILDER_OBJCFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment