aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2023-04-07 16:21:10 +0200
committerLinus Jahn <lnj@kaidan.im>2023-04-07 16:21:10 +0200
commitab4bdf2da41a26f462fe3a333a34e32c999e2a6d (patch)
tree2501bde9b6da885056166c769befa7f7d4729e49 /examples
parentc8e13f6fd3df8dcab0170dda6f54eaf5175d8437 (diff)
parentb44a7ee310bd2c9bc7c0d234ab7a96c501d20559 (diff)
downloadqxmpp-ab4bdf2da41a26f462fe3a333a34e32c999e2a6d.tar.gz
Merge branch '1.5'
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/example_5_rpcInterface/CMakeLists.txt2
-rw-r--r--examples/example_6_rpcClient/CMakeLists.txt2
-rw-r--r--examples/example_9_vCard/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index 0a1de8a2..8f83ce27 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -4,7 +4,7 @@
macro(add_simple_example EXAMPLE_NAME)
add_executable(${EXAMPLE_NAME} example_${EXAMPLE_NAME}/example_${EXAMPLE_NAME}.cpp)
- target_link_libraries(${EXAMPLE_NAME} qxmpp)
+ target_link_libraries(${EXAMPLE_NAME} ${QXMPP_TARGET})
endmacro()
include_directories(${PROJECT_SOURCE_DIR}/src/base)
diff --git a/examples/example_5_rpcInterface/CMakeLists.txt b/examples/example_5_rpcInterface/CMakeLists.txt
index c58fdc40..b18299ad 100644
--- a/examples/example_5_rpcInterface/CMakeLists.txt
+++ b/examples/example_5_rpcInterface/CMakeLists.txt
@@ -3,4 +3,4 @@
# SPDX-License-Identifier: CC0-1.0
add_executable(5_rpcInterface main.cpp remoteinterface.cpp)
-target_link_libraries(5_rpcInterface qxmpp)
+target_link_libraries(5_rpcInterface ${QXMPP_TARGET})
diff --git a/examples/example_6_rpcClient/CMakeLists.txt b/examples/example_6_rpcClient/CMakeLists.txt
index 2c19a92c..8ad4de2e 100644
--- a/examples/example_6_rpcClient/CMakeLists.txt
+++ b/examples/example_6_rpcClient/CMakeLists.txt
@@ -3,4 +3,4 @@
# SPDX-License-Identifier: CC0-1.0
add_executable(6_rpcClient main.cpp rpcClient.cpp)
-target_link_libraries(6_rpcClient qxmpp)
+target_link_libraries(6_rpcClient ${QXMPP_TARGET})
diff --git a/examples/example_9_vCard/CMakeLists.txt b/examples/example_9_vCard/CMakeLists.txt
index 2fc4ba63..d187f9f6 100644
--- a/examples/example_9_vCard/CMakeLists.txt
+++ b/examples/example_9_vCard/CMakeLists.txt
@@ -5,4 +5,4 @@
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Gui)
add_executable(9_vCard example_9_vCard.cpp)
-target_link_libraries(9_vCard Qt${QT_VERSION_MAJOR}::Gui qxmpp)
+target_link_libraries(9_vCard Qt${QT_VERSION_MAJOR}::Gui ${QXMPP_TARGET})