forked from qt-creator/qt-creator
ClangCodeModel: Fix expression to find lib dir.
Change-Id: I71362574d8437a7d95348c23eaf3698b7467b44d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -42,8 +42,9 @@ defineReplace(findClangOnWindows) {
|
|||||||
for (suffix, $$list(lib bin)) {
|
for (suffix, $$list(lib bin)) {
|
||||||
for (libname, $$list(clang libclang)) {
|
for (libname, $$list(clang libclang)) {
|
||||||
for (ext, FILE_EXTS) {
|
for (ext, FILE_EXTS) {
|
||||||
exists("$${LLVM_INSTALL_DIR}/$${suffix}/$${libname}.$${ext}")
|
exists("$${LLVM_INSTALL_DIR}/$${suffix}/$${libname}.$${ext}") {
|
||||||
return($${LLVM_INSTALL_DIR}/$${suffix}/)
|
return($${LLVM_INSTALL_DIR}/$${suffix}/)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user