aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b4f659cb..dedfccae 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,7 +4,12 @@ include_directories(base)
include_directories(client)
include_directories(server)
+configure_file(${CMAKE_CURRENT_SOURCE_DIR}/base/QXmppGlobal.h.in ${CMAKE_CURRENT_BINARY_DIR}/base/QXmppGlobal.h @ONLY)
+include_directories(${CMAKE_CURRENT_BINARY_DIR}/base)
+
set(INSTALL_HEADER_FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/base/QXmppGlobal.h
+
# Base
base/QXmppArchiveIq.h
base/QXmppBindIq.h
@@ -14,7 +19,6 @@ set(INSTALL_HEADER_FILES
base/QXmppDiscoveryIq.h
base/QXmppElement.h
base/QXmppEntityTimeIq.h
- base/QXmppGlobal.h
base/QXmppIbbIq.h
base/QXmppIq.h
base/QXmppJingleIq.h
@@ -89,7 +93,6 @@ set(SOURCE_FILES
base/QXmppDiscoveryIq.cpp
base/QXmppElement.cpp
base/QXmppEntityTimeIq.cpp
- base/QXmppGlobal.cpp
base/QXmppIbbIq.cpp
base/QXmppIq.cpp
base/QXmppJingleIq.cpp