aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2021-02-26 20:20:30 +0100
committerLinus Jahn <lnj@kaidan.im>2021-02-26 21:03:37 +0100
commit9a1134a415cd550dcb6efd35bd1cf98b8faa236e (patch)
tree92725cc756781f9cfa327fb59d41970d44f629c8 /src
parentfbd0f2431d1fe753169244f912c6055236180d25 (diff)
downloadqxmpp-9a1134a415cd550dcb6efd35bd1cf98b8faa236e.tar.gz
cmake: Simplify Qt5/Qt6 handling
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e35e2c57..672f0467 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -230,9 +230,9 @@ target_include_directories(qxmpp
target_link_libraries(qxmpp
PUBLIC
- ${QT_TARGET}::Core
- ${QT_TARGET}::Network
- ${QT_TARGET}::Xml
+ Qt${QT_VERSION_MAJOR}::Core
+ Qt${QT_VERSION_MAJOR}::Network
+ Qt${QT_VERSION_MAJOR}::Xml
)
if(WITH_GSTREAMER)