cmake: invoke configure hooks correctly
Otherwise, the multiple-outputs hooks will not fire correctly.
This commit is contained in:
parent
4465f438de
commit
1087020a46
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ fixCmakeFiles() {
|
||||||
}
|
}
|
||||||
|
|
||||||
cmakeConfigurePhase() {
|
cmakeConfigurePhase() {
|
||||||
eval "$preConfigure"
|
runHook preConfigure
|
||||||
|
|
||||||
if [ -z "$dontFixCmake" ]; then
|
if [ -z "$dontFixCmake" ]; then
|
||||||
fixCmakeFiles .
|
fixCmakeFiles .
|
||||||
|
@ -53,7 +53,7 @@ cmakeConfigurePhase() {
|
||||||
|
|
||||||
cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
|
cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"
|
||||||
|
|
||||||
eval "$postConfigure"
|
runHook postConfigure
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
|
if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
|
||||||
|
|
Loading…
Reference in a new issue