mirror of
https://github.com/QuasarApp/CMakeProject.git
synced 2025-04-26 05:34:34 +00:00
force build shared libs on android
This commit is contained in:
parent
379885a440
commit
45ba0262a8
@ -20,6 +20,10 @@ set(CMAKE_AUTOUIC ON)
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
||||
if (ANDROID)
|
||||
set(BUILD_SHARED_LIBS ON)
|
||||
endif()
|
||||
|
||||
if (NOT QT_VERSION_MAJOR)
|
||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Test QUIET)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user