aboutsummaryrefslogtreecommitdiff
path: root/src/omemo
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2022-12-29 19:53:26 +0100
committerLinus Jahn <lnj@kaidan.im>2022-12-29 20:48:08 +0100
commit608fe34edb4b4d70a2ba6eca6a925f58fee52074 (patch)
tree895e8289780b88ec37799b092f2b0ee9f9214229 /src/omemo
parent6fcc1444b23e974a5a6731ef3081f5dfc4d581e9 (diff)
downloadqxmpp-608fe34edb4b4d70a2ba6eca6a925f58fee52074.tar.gz
cmake: Use generate_export_header() instead of doing manually
This is going to make it easier for us to maintain things. It's also consistent with the new QXmppOmemo module. This requires CMake 3.7 now. Closes #523.
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/omemo/CMakeLists.txt b/src/omemo/CMakeLists.txt
index 3c6e403e..0ec3c0f0 100644
--- a/src/omemo/CMakeLists.txt
+++ b/src/omemo/CMakeLists.txt
@@ -3,7 +3,6 @@
# SPDX-License-Identifier: CC0-1.0
include(CMakePackageConfigHelpers)
-include(GenerateExportHeader)
set(OMEMO_CMAKE_DIR "${CMAKE_INSTALL_LIBDIR}/cmake/QXmppOmemo")
set(OMEMO_HEADER_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}/qxmpp/omemo")
@@ -37,6 +36,7 @@ target_include_directories(QXmppOmemo
PRIVATE
${CMAKE_CURRENT_LIST_DIR}
${CMAKE_CURRENT_BINARY_DIR}
+ ${PROJECT_BINARY_DIR}/src
)
generate_export_header(QXmppOmemo)