diff --git a/README b/README index de94178..9d7071d 100644 --- a/README +++ b/README @@ -67,6 +67,7 @@ INSTALLER Optional varialbes to control the build process are CONFIGURE_OPTS options which will be passed to configure +CMAKE_OPTS options which will be passed to cmake MAKEOPTS options which will be passed to make (see sit.conf) diff --git a/functions.sh b/functions.sh index 195bf96..07df39e 100644 --- a/functions.sh +++ b/functions.sh @@ -67,7 +67,7 @@ src_configure() { fi elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then #sit_info "Running cmake" - cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} + cmake -DCMAKE_INSTALL_PREFIX=$PREFIX $CMAKE_OPTS ${SRCDIR} fi } sit_configure() {