CMake: Fix KDSingleApplication version check

Fixes #1300
This commit is contained in:
Jonas Kvinge 2023-10-23 23:56:59 +02:00
parent eec5b448b6
commit 5f02072bf3
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ if(TARGET KDAB::kdsingleapplication)
elseif(QT_VERSION_MAJOR EQUAL 6)
set(KDSINGLEAPPLICATION_VERSION "${KDSingleApplication-qt6_VERSION}")
endif()
if(KDSINGLEAPPLICATION_VERSION GREATER_EQUAL 1.0.95)
if(KDSINGLEAPPLICATION_VERSION VERSION_GREATER_EQUAL 1.0.95)
set(HAVE_KDSINGLEAPPLICATION_OPTIONS ON)
else()
set(HAVE_KDSINGLEAPPLICATION_OPTIONS OFF)