diff options
| author | Linus Jahn <lnj@kaidan.im> | 2023-03-19 01:48:29 +0100 |
|---|---|---|
| committer | Linus Jahn <lnj@kaidan.im> | 2023-04-07 15:58:12 +0200 |
| commit | 7d1e74b5147f411d30f2d76420ba62737ec93ab9 (patch) | |
| tree | 047c3770ffa30e539811fa13094117d0781a47dd /examples | |
| parent | 894299926df1c2bf20a1493e92295925a35eaf6b (diff) | |
| download | qxmpp-7d1e74b5147f411d30f2d76420ba62737ec93ab9.tar.gz | |
Support installing QXmpp with Qt 5 and Qt 6 in parallel
Closes #540.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/example_5_rpcInterface/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/example_6_rpcClient/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | examples/example_9_vCard/CMakeLists.txt | 2 |
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}) |
