Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
2248027f
Commit
2248027f
authored
Aug 13, 2022
by
Julius Künzel
💬
Browse files
Use versionless targets if building against Qt6
parent
cfb0455f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2248027f
...
...
@@ -68,6 +68,10 @@ if (NOT DEFINED QT_MAJOR_VERSION)
set
(
QT_MAJOR_VERSION 5
)
endif
()
if
(
QT_MAJOR_VERSION STREQUAL
"6"
)
set
(
USE_VERSIONLESS_TARGETS ON
)
endif
()
if
(
ECM_VERSION VERSION_GREATER_EQUAL
"5.91.0"
)
ecm_set_disabled_deprecation_versions
(
QT
${
QT_MIN_VERSION
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment