1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-21 18:22:29 +01:00

Fix CMake build for universal x86

This commit is contained in:
Elias Steurer 2023-08-27 09:38:19 +02:00
parent 22b3eb91dd
commit 410920df9c

View File

@ -39,6 +39,7 @@ set(CMAKE_OSX_DEPLOYMENT_TARGET "13.0")
set(SCREENPLAY_QML_MODULES_PATH "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/qml")
if(APPLE)
set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64")
set(SCREENPLAY_QML_MODULES_PATH "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/ScreenPlay.app/Contents/MacOS/qml")
endif()