mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-05-05 22:19:43 +00:00
update cmake
This commit is contained in:
parent
30b3669ce4
commit
d24908f7c8
2
CMake
2
CMake
@ -1 +1 @@
|
|||||||
Subproject commit 30b2e07c474ab032dd120475b0a2a4cca6012fe7
|
Subproject commit 1d440b95aa9fa67379199573ccf18c5c61cedb68
|
@ -27,6 +27,7 @@ include(CMake/ProjectOut.cmake)
|
|||||||
include(CMake/ccache.cmake)
|
include(CMake/ccache.cmake)
|
||||||
include(CMake/Version.cmake)
|
include(CMake/Version.cmake)
|
||||||
include(CMake/QuasarAppCITargets.cmake)
|
include(CMake/QuasarAppCITargets.cmake)
|
||||||
|
include(CMake/QtFunctions.cmake)
|
||||||
|
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
set(CMAKE_AUTOMOC ON)
|
set(CMAKE_AUTOMOC ON)
|
||||||
@ -34,10 +35,7 @@ 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 (NOT QT_VERSION_MAJOR)
|
includeQt(Core)
|
||||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
|
||||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
file(GLOB SOURCE_CPP
|
file(GLOB SOURCE_CPP
|
||||||
"*.cpp"
|
"*.cpp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user