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