Fix building x86_64 solution on Mac M1
This commit is contained in:
parent
132cfda244
commit
442ffb9feb
|
@ -2,6 +2,11 @@ cmake_minimum_required(VERSION 3.19)
|
||||||
|
|
||||||
project(StatusQ)
|
project(StatusQ)
|
||||||
|
|
||||||
|
if (APPLE)
|
||||||
|
set(MACOS_VERSION_MIN_FLAGS -mmacosx-version-min=10.14)
|
||||||
|
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||||
|
endif()
|
||||||
|
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
set(CMAKE_AUTORCC ON)
|
set(CMAKE_AUTORCC ON)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue