aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/kde4BasicFindPackageVersion.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/kde4BasicFindPackageVersion.cmake.in b/modules/kde4BasicFindPackageVersion.cmake.in
index 4760f301..ba4cb1eb 100644
--- a/modules/kde4BasicFindPackageVersion.cmake.in
+++ b/modules/kde4BasicFindPackageVersion.cmake.in
@@ -19,12 +19,12 @@
set(PACKAGE_VERSION @PROJECT_VERSION_MAJOR@.@PROJECT_VERSION_MINOR@.@PROJECT_VERSION_PATCH@)
-if(${PACKAGE_VERSION} LESS ${PACKAGE_FIND_VERSION} )
+if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE FALSE)
-else(${PACKAGE_VERSION} LESS ${PACKAGE_FIND_VERSION} )
+else("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )
set(PACKAGE_VERSION_COMPATIBLE TRUE)
if( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
set(PACKAGE_VERSION_EXACT TRUE)
endif( "${PACKAGE_FIND_VERSION}" STREQUAL "${PACKAGE_VERSION}")
-endif(${PACKAGE_VERSION} LESS ${PACKAGE_FIND_VERSION} )
+endif("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}" )