summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <stephen.kelly@kdab.com>2012-10-17 16:00:50 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-19 02:44:26 +0200
commit89c53738de46c075e51bc0c185417318fd2d910a (patch)
treee4e7cf9a62d7038976cf043e8f140aff2b37b36a
parenta61788d139470afa02202945f0723a9c8ef745ec (diff)
CMake: Remove content from else() and endif() commands.
Having them empty is the common style and is less noisy. Change-Id: I30c0c4d297a7bdb373a57a636f4fdbc488a69fcd Reviewed-by: Clinton Stimpson <clinton@elemtech.com> Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com> Reviewed-by: Alexander Neundorf <neundorf@kde.org>
-rw-r--r--mkspecs/cmake/Qt5ConfigVersion.cmake.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/cmake/Qt5ConfigVersion.cmake.in b/mkspecs/cmake/Qt5ConfigVersion.cmake.in
index 66d4b85f60..96ea9c000d 100644
--- a/mkspecs/cmake/Qt5ConfigVersion.cmake.in
+++ b/mkspecs/cmake/Qt5ConfigVersion.cmake.in
@@ -3,9 +3,9 @@ set(PACKAGE_VERSION $$eval(QT.$${MODULE}.VERSION))
if(\"\${PACKAGE_VERSION}\" VERSION_LESS \"\${PACKAGE_FIND_VERSION}\")
set(PACKAGE_VERSION_COMPATIBLE FALSE)
-else(\"\${PACKAGE_VERSION}\" VERSION_LESS \"\${PACKAGE_FIND_VERSION}\")
+else()
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}\" VERSION_LESS \"\${PACKAGE_FIND_VERSION}\")
+ endif()
+endif()