Added CMAKE_OPTS variable for packages using cmake.

This commit is contained in:
Christoph Niethammer 2012-03-06 09:53:36 +00:00
parent f18573e1b4
commit 0906abd22c
2 changed files with 2 additions and 1 deletions

1
README
View file

@ -67,6 +67,7 @@ INSTALLER
Optional varialbes to control the build process are Optional varialbes to control the build process are
CONFIGURE_OPTS options which will be passed to configure 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) MAKEOPTS options which will be passed to make (see sit.conf)

View file

@ -67,7 +67,7 @@ src_configure() {
fi fi
elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then elif [ -f ${SRCDIR}/CMakeLists.txt ] ; then
#sit_info "Running cmake" #sit_info "Running cmake"
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} cmake -DCMAKE_INSTALL_PREFIX=$PREFIX $CMAKE_OPTS ${SRCDIR}
fi fi
} }
sit_configure() { sit_configure() {