mirror of
https://github.com/QuasarApp/Heart.git
synced 2025-04-26 09:44:37 +00:00
fix main cmake
This commit is contained in:
parent
e13f71a7c4
commit
d0fcdb8bc9
@ -13,9 +13,11 @@ if(TARGET ${PROJECT_NAME})
|
||||
return()
|
||||
endif()
|
||||
|
||||
include(QuasarAppLib/CMake/QuasarApp.cmake)
|
||||
include(QuasarAppLib/CMake/Version.cmake)
|
||||
|
||||
if (DEFINED TARGET_PLATFORM_TOOLCHAIN)
|
||||
if (${TARGET_PLATFORM_TOOLCHAIN} STREQUAL "wasm32")
|
||||
include(QuasarAppLib/CMake/QuasarAppCITargets.cmake)
|
||||
initAll()
|
||||
return()
|
||||
endif()
|
||||
@ -45,9 +47,6 @@ if (HEART_DB_CACHE)
|
||||
add_definitions(-DHEART_DB_CACHE)
|
||||
endif()
|
||||
|
||||
include(../QuasarAppLib/CMake/QuasarApp.cmake)
|
||||
include(../QuasarAppLib/CMake/Version.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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user