diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e12d803..be9668a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ set(CMAKE_AUTOUIC ON) set(CMAKE_AUTORCC ON) set(CMAKE_CXX_STANDARD_REQUIRED ON) -find_package(Qt6 REQUIRED COMPONENTS Quick Sql) +find_package(Qt6 REQUIRED COMPONENTS Core Quick Sql) # QXmpp requires C++17. set(CMAKE_CXX_STANDARD 17) @@ -16,8 +16,21 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) qt_standard_project_setup(REQUIRES 6.2) qt_add_executable(${PROJECT_NAME} + atm_db.cpp + atm_db.h + client.cpp + client.h + credentials.cpp + credentials.h + direction.h + jiddb.cpp + jiddb.h main.cpp + omemo_db.cpp + omemo_db.h test.h + trust_db.cpp + trust_db.h ) qt_add_qml_module(${PROJECT_NAME} @@ -32,6 +45,10 @@ qt_add_qml_module(${PROJECT_NAME} Main.qml ) +find_package(Qt6Keychain REQUIRED) +target_link_libraries(${PROJECT_NAME} PRIVATE + Qt6Keychain::Qt6Keychain) + # Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1. # If you are developing for iOS or macOS you should consider setting an # explicit, fixed bundle identifier manually though. @@ -44,10 +61,15 @@ set_target_properties(${PROJECT_NAME} PROPERTIES ) target_link_libraries(${PROJECT_NAME} - PRIVATE Qt6::Core - Qt6::Quick + PRIVATE + Qt6::Core + Qt6::Quick + Qt6::Sql ) +add_subdirectory(libomemo-c) +add_subdirectory(qxmpp) + include(GNUInstallDirs) install(TARGETS ${PROJECT_NAME} BUNDLE DESTINATION . |
