cmake setup hook: If configurePhase is set, don't override it

This commit is contained in:
Shea Levy 2013-02-07 14:03:23 -05:00
parent c95cbc12cb
commit 45f6008817

View File

@ -47,7 +47,7 @@ cmakeConfigurePhase() {
eval "$postConfigure"
}
if [ -z "$dontUseCmakeConfigure" ]; then
if [ -z "$dontUseCmakeConfigure" -a ! -v configurePhase ]; then
configurePhase=cmakeConfigurePhase
fi