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>bb10
parent
a61788d139
commit
89c53738de
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue