diff --git a/CMakeLists.txt b/CMakeLists.txt index b5a0a3f217b59f18d1e1b6f779c5ba346798cfc5..16f104f7440d68646209030a33362c660d17f4fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -147,4 +147,3 @@ if(WITH_GUI) ) add_dependencies( uninstall __uninstall_moose-gui__ ) endif() - diff --git a/cmake/build_moose-core.sh.in b/cmake/build_moose-core.sh.in index 8ae7a5b37b4eda363b189c951bf05bc7f28c474e..8d766209f4672c6f356602e1ba280a06ea51a825 100755 --- a/cmake/build_moose-core.sh.in +++ b/cmake/build_moose-core.sh.in @@ -7,8 +7,8 @@ set -e # will play well with cmake. CMAKE replaces @FOO@ and ${FOO} with cmake variable # values. -if [ -z "$MAKE" ]; then - MAKE=make +if [ ! -n "$MAKE" ]; then + MAKE=make -j4 fi echo "Building pymoose and creating bdist."