Added CMAKE_OPTS variable for packages using cmake.
This commit is contained in:
parent
f18573e1b4
commit
0906abd22c
2 changed files with 2 additions and 1 deletions
1
README
1
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)
|
||||
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue