aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/NepomukMacros.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/NepomukMacros.cmake b/modules/NepomukMacros.cmake
index af534451..9476cf64 100644
--- a/modules/NepomukMacros.cmake
+++ b/modules/NepomukMacros.cmake
@@ -21,9 +21,9 @@
macro(NEPOMUK_GENERATE_FROM_ONTOLOGY ontofile targetdir out_headers out_sources out_includes)
FIND_PROGRAM(RCGEN nepomuk-rcgen PATHS ${BIN_INSTALL_DIR})
- if(RCGEN-NOTFOUND)
+ if(NOT RCGEN)
message( FATAL_ERROR "Failed to find the KMetaData source generator" )
- endif(RCGEN-NOTFOUND)
+ endif(NOT RCGEN)
FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)