aboutsummaryrefslogtreecommitdiff
path: root/examples
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 /examples
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 'examples')
-rw-r--r--examples/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 69f98750..0a1de8a2 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -10,7 +10,7 @@ endmacro()
include_directories(${PROJECT_SOURCE_DIR}/src/base)
include_directories(${PROJECT_SOURCE_DIR}/src/client)
include_directories(${PROJECT_SOURCE_DIR}/src/server)
-include_directories(${PROJECT_BINARY_DIR}/src/base)
+include_directories(${PROJECT_BINARY_DIR}/src)
add_simple_example(0_connected)
add_simple_example(1_echoClient)