Skip to content

Commit

Permalink
cmake: invoke configure hooks correctly
Browse files Browse the repository at this point in the history
Otherwise, the multiple-outputs hooks will not fire correctly.
  • Loading branch information
ttuegel committed Feb 1, 2016
1 parent 4465f43 commit 1087020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/tools/build-managers/cmake/setup-hook.sh
Expand Up @@ -13,7 +13,7 @@ fixCmakeFiles() {
}

cmakeConfigurePhase() {
eval "$preConfigure"
runHook preConfigure

if [ -z "$dontFixCmake" ]; then
fixCmakeFiles .
Expand Down Expand Up @@ -53,7 +53,7 @@ cmakeConfigurePhase() {

cmake ${cmakeDir:-.} $cmakeFlags "${cmakeFlagsArray[@]}"

eval "$postConfigure"
runHook postConfigure
}

if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
Expand Down

0 comments on commit 1087020

Please sign in to comment.