aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/NepomukMacros.cmake
diff options
context:
space:
mode:
authorKevin Funk <kfunk@kde.org>2015-12-18 12:37:19 +0100
committerKevin Funk <kfunk@kde.org>2015-12-18 15:57:50 +0100
commit942ba80dae253fef93094d178da3ce0abc47da5d (patch)
treec1e633d8caa14d02536806c91a7cf30f3680c809 /attic/modules/NepomukMacros.cmake
parentbdd38b5f45a889043deb0665bdb66086ca6c9bf5 (diff)
downloadextra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.gz
extra-cmake-modules-942ba80dae253fef93094d178da3ce0abc47da5d.tar.bz2
CMake: Cleanup: Strip text from endif/else
REVIEW: 126414
Diffstat (limited to 'attic/modules/NepomukMacros.cmake')
-rw-r--r--attic/modules/NepomukMacros.cmake8
1 files changed, 4 insertions, 4 deletions
diff --git a/attic/modules/NepomukMacros.cmake b/attic/modules/NepomukMacros.cmake
index 14acd2bb..ef68fc59 100644
--- a/attic/modules/NepomukMacros.cmake
+++ b/attic/modules/NepomukMacros.cmake
@@ -27,7 +27,7 @@ macro(NEPOMUK_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_sources
message(STATUS "Failed to find the Nepomuk source generator" )
- else(NOT RCGEN)
+ else()
FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)
@@ -56,12 +56,12 @@ macro(NEPOMUK_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_sources
set(NEPOMUK_RESOURCES_GENERATED true)
- else(${rcgen_result} EQUAL 0)
+ else()
message(STATUS "Failed to generate Nepomuk resource classes.")
- endif(${rcgen_result} EQUAL 0)
+ endif()
- endif(NOT RCGEN)
+ endif()
endmacro(NEPOMUK_GENERATE_FROM_ONTOLOGY)