forked from OSchip/llvm-project
Fix a build-llvm.py crasher when we can't find cmake. Now it exits with a valid error that explains what went wrong.
llvm-svn: 267235
This commit is contained in:
parent
891f0f176c
commit
b6bd4618eb
|
@ -249,7 +249,7 @@ def find_cmake ():
|
|||
return cmake_binary
|
||||
|
||||
# We couldn't find cmake. Tell the user what to do.
|
||||
raise(
|
||||
raise Exception(
|
||||
"could not find cmake in PATH ({}) or in any of these locations ({}), "
|
||||
"please install cmake or add a link to it in one of those locations".format(
|
||||
os.environ["PATH"],
|
||||
|
|
Loading…
Reference in New Issue