3
0
Fork 0
forked from mirrors/nixpkgs

cmake: invoke configure hooks correctly

Otherwise, the multiple-outputs hooks will not fire correctly.
This commit is contained in:
Thomas Tuegel 2016-01-24 12:18:56 -06:00
parent 4465f438de
commit 1087020a46

View file

@ -13,7 +13,7 @@ fixCmakeFiles() {
}
cmakeConfigurePhase() {
eval "$preConfigure"
runHook preConfigure
if [ -z "$dontFixCmake" ]; then
fixCmakeFiles .
@ -53,7 +53,7 @@ cmakeConfigurePhase() {
cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
eval "$postConfigure"
runHook postConfigure
}
if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then