CMake: Fix KDSingleApplication package name for Qt5

The name of the Qt5 KDSingleApplication CMake package is just
"KDSingleApplication", not "KDSingleApplication-qt".

Signed-off-by: Ondrej Mosnáček <omosnacek@gmail.com>
This commit is contained in:
Ondrej Mosnáček 2023-10-22 13:53:07 +02:00 committed by Jonas Kvinge
parent 2bb09cf575
commit c9197e8df7
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ endif()
# SingleApplication
if(QT_VERSION_MAJOR EQUAL 5)
set(KDSINGLEAPPLICATION_NAME "KDSingleApplication-qt")
set(KDSINGLEAPPLICATION_NAME "KDSingleApplication")
else()
set(KDSINGLEAPPLICATION_NAME "KDSingleApplication-qt${QT_VERSION_MAJOR}")
endif()