Commit 0285179e authored by Marco Clemencic's avatar Marco Clemencic
Browse files

fixed 'configure' to take into account that distcc and ccache do not work together

parent 96a88ea3
......@@ -9,10 +9,10 @@ if [ ! -e build-dir/CMakeCache.txt ] ; then
if which distcc &> /dev/null ; then
distcc_opt="-DCMAKE_USE_DISTCC=ON"
fi
if which ccache &> /dev/null ; then
ccache_opt="-DCMAKE_USE_CCACHE=ON"
else
if which ccache &> /dev/null ; then
ccache_opt="-DCMAKE_USE_CCACHE=ON"
fi
fi
mkdir -p build-dir
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment