mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-05-10 16:39:41 +00:00
fix android builds
This commit is contained in:
parent
48d56ae5dc
commit
4fd83c73c1
@ -37,6 +37,9 @@ endif()
|
|||||||
include(QuasarAppLib/CMake/ccache.cmake)
|
include(QuasarAppLib/CMake/ccache.cmake)
|
||||||
|
|
||||||
# Add sub directories
|
# Add sub directories
|
||||||
|
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Network Sql Concurrent REQUIRED)
|
||||||
|
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Network Sql Concurrent REQUIRED)
|
||||||
|
|
||||||
add_subdirectory(QuasarAppLib)
|
add_subdirectory(QuasarAppLib)
|
||||||
add_subdirectory(Heart)
|
add_subdirectory(Heart)
|
||||||
|
|
||||||
|
@ -22,9 +22,6 @@ set(CMAKE_AUTORCC ON)
|
|||||||
|
|
||||||
add_definitions(-DHEART_LIBRARY)
|
add_definitions(-DHEART_LIBRARY)
|
||||||
|
|
||||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Network Sql Concurrent REQUIRED)
|
|
||||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Network Sql Concurrent REQUIRED)
|
|
||||||
|
|
||||||
list(APPEND CMAKE_FIND_ROOT_PATH "$ENV{OPENSSL_ROOT_DIR}")
|
list(APPEND CMAKE_FIND_ROOT_PATH "$ENV{OPENSSL_ROOT_DIR}")
|
||||||
find_package(OpenSSL REQUIRED)
|
find_package(OpenSSL REQUIRED)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user