mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-19 17:39:34 +00:00
cmake: enable parallel building of cmake projects by default
This commit is contained in:
parent
75d70c8372
commit
031138b7f0
|
@ -59,6 +59,11 @@ cmakeConfigurePhase() {
|
|||
|
||||
cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
|
||||
|
||||
if ! [[ -v enableParallelBuilding ]]; then
|
||||
enableParallelBuilding=1
|
||||
echo "cmake: enabled parallel building"
|
||||
fi
|
||||
|
||||
runHook postConfigure
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue