Add ifdef around QTP0004 setting

This commit is contained in:
Bart De Vries 2024-11-14 11:24:53 +01:00
parent 4dd443c059
commit 370bd239a6
No known key found for this signature in database
GPG Key ID: 7285665DA6E2D42B

View File

@ -84,7 +84,10 @@ add_definitions(-DQT_NO_CAST_FROM_ASCII
)
qt_policy(SET QTP0001 NEW)
if (QT_KNOWN_POLICY_QTP0004)
qt_policy(SET QTP0004 NEW)
endif()
ki18n_install(po)
install(PROGRAMS org.kde.kasts.desktop DESTINATION ${KDE_INSTALL_APPDIR})