Do not set CMAKE_OSX_ARCHITECTURES

We do not know which architecture we are going to build on, so
skip this if not explicitly set externally
This commit is contained in:
akallabeth
2021-11-25 08:21:39 +01:00
committed by akallabeth
parent 90b1b3d540
commit 5d3dc7b925

View File

@@ -478,10 +478,6 @@ if(APPLE)
endif()
set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${FREERDP_IOS_EXTERNAL_SSL_PATH})
set_property(GLOBAL PROPERTY XCODE_ATTRIBUTE_SKIP_INSTALL YES)
else(IOS)
if(NOT DEFINED CMAKE_OSX_ARCHITECTURES)
set(CMAKE_OSX_ARCHITECTURES i386 x86_64)
endif()
endif(IOS)
# Temporarily disabled, causes the cmake script to be reexecuted, causing the compilation to fail.