Skip to content

Commit e39c8d6

Browse files
committed
configure: only req CMake if we're building LLVM
CMake is only necessary if LLVM is going to be built and not in any other case. Signed-off-by: Doug Goldstein <[email protected]>
1 parent f50dbd5 commit e39c8d6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

configure

+4-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,10 @@ then
848848
fi
849849

850850
# For building LLVM
851-
probe_need CFG_CMAKE cmake
851+
if [ -z "$CFG_LLVM_ROOT" ]
852+
then
853+
probe_need CFG_CMAKE cmake
854+
fi
852855

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

0 commit comments

Comments
 (0)