diff --git a/BuildLinux.sh b/BuildLinux.sh index 099cc0a895..94b250ba5a 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -163,9 +163,10 @@ then fi if [[ -n "$BUILD_DEBUG" ]] then - # have to build deps with debug & release or the cmake won't find evrything it needs + # have to build deps with debug & release or the cmake won't find everything it needs mkdir deps/build/release pushd deps/build/release + echo -e "cmake ../.. -DDESTDIR=\"../destdir\" $BUILD_ARGS" cmake ../.. -DDESTDIR="../destdir" $BUILD_ARGS make -j$NCORES popd @@ -174,6 +175,7 @@ then # cmake deps pushd deps/build + echo "cmake .. $BUILD_ARGS" cmake .. $BUILD_ARGS echo "done" @@ -225,6 +227,7 @@ then # cmake pushd build + echo -e "cmake .. -DCMAKE_PREFIX_PATH=\"$PWD/../deps/build/destdir/usr/local\" -DSLIC3R_STATIC=1 ${BUILD_ARGS}" cmake .. -DCMAKE_PREFIX_PATH="$PWD/../deps/build/destdir/usr/local" -DSLIC3R_STATIC=1 ${BUILD_ARGS} echo "done"