From 3efbcf7132a20a2c7cf53071e65f0c3406b95db8 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Mon, 13 Feb 2012 13:44:48 +0000 Subject: [PATCH] Added cmake configuration support. --- functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/functions.sh b/functions.sh index 17463bb..4448b7f 100644 --- a/functions.sh +++ b/functions.sh @@ -66,6 +66,10 @@ src_configure() { cp config.log $LOGDIR fi fi + if [ -f ${SRCDIR}/CMakeLists.txt ] ; then +#sit_info "Running cmake" + cmake -DCMAKE_INSTALL_PREFIX=$PREFIX ${SRCDIR} + fi } sit_configure() { sit_info "Configuring sources ..."