fix(tests): fix building tests
This commit is contained in:
parent
0a6c1bfcac
commit
0f40f5bb0d
|
@ -2,8 +2,14 @@ cmake_minimum_required(VERSION 3.5)
|
|||
|
||||
project(TestStatusQ LANGUAGES CXX)
|
||||
|
||||
# The current StatusQ builds with Qt 5.14 which doesn't support the apple silicon.
|
||||
# Therefore force the intel architecture for MacOS platforms.
|
||||
set(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
|
||||
enable_testing()
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
# TODO: Workaround until we make StatusQ a CMake library
|
||||
list(APPEND QML_DIRS "${CMAKE_CURRENT_SOURCE_DIR}/../src/")
|
||||
set(QML_IMPORT_PATH "${QML_DIRS}" CACHE STRING "Qt Creator extra qml import paths")
|
||||
|
|
Loading…
Reference in New Issue