4
0
mirror of https://github.com/QuasarApp/QuasarAppLib.git synced 2025-05-02 20:49:42 +00:00

update cmake

This commit is contained in:
Andrei Yankovich 2021-04-01 13:04:01 +03:00
parent 30b3669ce4
commit d24908f7c8
2 changed files with 3 additions and 5 deletions

2
CMake

@ -1 +1 @@
Subproject commit 30b2e07c474ab032dd120475b0a2a4cca6012fe7
Subproject commit 1d440b95aa9fa67379199573ccf18c5c61cedb68

@ -27,6 +27,7 @@ include(CMake/ProjectOut.cmake)
include(CMake/ccache.cmake)
include(CMake/Version.cmake)
include(CMake/QuasarAppCITargets.cmake)
include(CMake/QtFunctions.cmake)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
@ -34,10 +35,7 @@ set(CMAKE_AUTORCC ON)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
if (NOT QT_VERSION_MAJOR)
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
endif ()
includeQt(Core)
file(GLOB SOURCE_CPP
"*.cpp"