aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9b53a53a..dfb60ea6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -81,6 +81,7 @@ endif()
if (NOT Qt5Core_FOUND OR BUILD_WITH_Qt6)
find_package(Qt6 6.2 REQUIRED Core Network Gui Test) # TODO: Multimedia
set(Qt Qt6)
+ qt6_wrap_cpp(lib_SRCS lib/quotient_common.h)
else()
find_package(Qt5 5.12 REQUIRED Core Network Gui Multimedia Test)
set(Qt Qt5)
@@ -124,7 +125,7 @@ if (${PROJECT_NAME}_ENABLE_E2EE)
endif ()
# Set up source files
-set(lib_SRCS
+list(APPEND lib_SRCS
lib/networkaccessmanager.cpp
lib/connectiondata.cpp
lib/connection.cpp