aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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})