4
1
mirror of https://github.com/QuasarApp/Heart.git synced 2025-05-08 07:29:42 +00:00

fix android builds

This commit is contained in:
Andrei Yankovich 2021-04-11 17:16:49 +03:00
parent 48d56ae5dc
commit 4fd83c73c1
2 changed files with 3 additions and 3 deletions

@ -37,6 +37,9 @@ endif()
include(QuasarAppLib/CMake/ccache.cmake)
# 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(Heart)

@ -22,9 +22,6 @@ set(CMAKE_AUTORCC ON)
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}")
find_package(OpenSSL REQUIRED)