Skip to content

Commit

Permalink
configure: only req CMake if we're building LLVM
Browse files Browse the repository at this point in the history
CMake is only necessary if LLVM is going to be built and not in any
other case.

Signed-off-by: Doug Goldstein <[email protected]>
  • Loading branch information
cardoe committed Dec 2, 2016
1 parent f50dbd5 commit e39c8d6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,10 @@ then
fi

# For building LLVM
probe_need CFG_CMAKE cmake
if [ -z "$CFG_LLVM_ROOT" ]
then
probe_need CFG_CMAKE cmake
fi

# On MacOS X, invoking `javac` pops up a dialog if the JDK is not
# installed. Since `javac` is only used if `antlr4` is available,
Expand Down

0 comments on commit e39c8d6

Please sign in to comment.