2021-11-08 14:00:16 +00:00
|
|
|
cmake_minimum_required(VERSION 3.20)
|
2022-11-06 03:49:12 +00:00
|
|
|
project(kappachat LANGUAGES CXX)
|
2021-11-08 14:00:16 +00:00
|
|
|
|
|
|
|
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
|
2022-11-06 03:49:12 +00:00
|
|
|
find_package(deltachat-core REQUIRED)
|
|
|
|
find_package(Qt6 REQUIRED COMPONENTS Widgets)
|
2021-11-08 14:00:16 +00:00
|
|
|
|
2022-11-06 03:09:33 +00:00
|
|
|
include(AddAutoformatTarget)
|
|
|
|
include(GNUInstallDirs)
|
|
|
|
|
2022-11-06 03:49:12 +00:00
|
|
|
qt_standard_project_setup()
|
2021-11-08 14:00:16 +00:00
|
|
|
|
2022-11-06 03:49:12 +00:00
|
|
|
add_subdirectory(src)
|