mirror of
https://github.com/QuasarApp/QuasarAppLib.git
synced 2025-04-28 18:54:39 +00:00
fix android builds (cmake)
This commit is contained in:
parent
81e0ed8a19
commit
34e0c6b502
@ -34,8 +34,10 @@ 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)
|
||||||
|
|
||||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
|
if (NOT QT_VERSION_MAJOR)
|
||||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core REQUIRED)
|
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