forked from qt-creator/qt-creator
Improve failure message when usable libclang is not found
Change-Id: Id541206c6b284be7a1068533825c88c9352f9d7f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -55,9 +55,10 @@ Module {
|
||||
|
||||
validate: {
|
||||
if (!clangProbe.found) {
|
||||
console.warn("Set LLVM_INSTALL_DIR to build the Clang Code Model."
|
||||
console.warn("No usable libclang version found."
|
||||
+ " Set LLVM_INSTALL_DIR to build the Clang Code Model."
|
||||
+ " For details, see doc/src/editors/creator-clang-codemodel.qdoc.");
|
||||
throw "No usable libclang found";
|
||||
throw new Error();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user