aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2007-06-27 18:24:55 +0000
committerLaurent Montel <montel@kde.org>2007-06-27 18:24:55 +0000
commita91a8972129f5f408779aac7d962e7b26a28b211 (patch)
treeb53f50a42888ca911e8f9c9608b509af01cf3308
parentd9894d647742f03d397e9510a72b6b7c0f7527e6 (diff)
downloadextra-cmake-modules-a91a8972129f5f408779aac7d962e7b26a28b211.tar.gz
extra-cmake-modules-a91a8972129f5f408779aac7d962e7b26a28b211.tar.bz2
Minor
svn path=/trunk/KDE/kdelibs/; revision=681013
-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)