From 0906abd22c01cfc519c1dfd5b786585899a33402 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 6 Mar 2012 09:53:36 +0000 Subject: [PATCH] Added CMAKE_OPTS variable for packages using cmake. --- README | 1 + functions.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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() {