diff options
author | Andreas Holzammer <andy@kdab.com> | 2010-07-13 09:57:04 +0000 |
---|---|---|
committer | Andreas Holzammer <andy@kdab.com> | 2010-07-13 09:57:04 +0000 |
commit | bd1362891b49d7477faf5b06a2b821adb4f90809 (patch) | |
tree | 5bf9dba6df14be68f25b4333cd99c198ad98f1bf | |
parent | c2c96d0fa3d2d48e1725506bb054d2a6b1b54978 (diff) | |
download | extra-cmake-modules-bd1362891b49d7477faf5b06a2b821adb4f90809.tar.gz extra-cmake-modules-bd1362891b49d7477faf5b06a2b821adb4f90809.tar.bz2 |
- changed findscript for wince to find the host generator
svn path=/trunk/KDE/kdelibs/; revision=1149380
-rw-r--r-- | modules/NepomukAddOntologyClasses.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/NepomukAddOntologyClasses.cmake b/modules/NepomukAddOntologyClasses.cmake index 687db6ef..68a2faee 100644 --- a/modules/NepomukAddOntologyClasses.cmake +++ b/modules/NepomukAddOntologyClasses.cmake @@ -53,8 +53,12 @@ macro(NEPOMUK_ADD_ONTOLOGY_CLASSES _sources) endforeach(_arg) # find our helper program (first in the install dir, then everywhere) + if(NOT WINCE) find_program(RCGEN nepomuk-rcgen PATHS ${KDE4_BIN_INSTALL_DIR} ${BIN_INSTALL_DIR} NO_DEFAULT_PATH) find_program(RCGEN nepomuk-rcgen) + else(NOT WINCE) + find_program(RCGEN nepomuk-rcgen PATHS ${HOST_BINDIR} NO_DEFAULT_PATH) + endif(NOT WINCE) if(NOT RCGEN) message(SEND_ERROR "Failed to find the Nepomuk source generator" ) |