fix(storybook): fix build on mac

This commit is contained in:
Patryk Osmaczko 2022-10-14 12:53:04 +02:00 committed by osmaczko
parent 89f6b5f3cc
commit 8a45e34870
1 changed files with 5 additions and 0 deletions

View File

@ -10,6 +10,11 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (APPLE)
set(MACOS_VERSION_MIN_FLAGS -mmacosx-version-min=10.14)
set(CMAKE_OSX_ARCHITECTURES "x86_64")
endif()
find_package( find_package(
Qt5 Qt5
COMPONENTS Core Quick QuickControls2 COMPONENTS Core Quick QuickControls2