From 942ba80dae253fef93094d178da3ce0abc47da5d Mon Sep 17 00:00:00 2001 From: Kevin Funk Date: Fri, 18 Dec 2015 12:37:19 +0100 Subject: CMake: Cleanup: Strip text from endif/else REVIEW: 126414 --- attic/modules/NepomukMacros.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'attic/modules/NepomukMacros.cmake') 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) -- cgit v1.2.1