Commit 2e3ec6b6 authored by David Schulz's avatar David Schulz

ClangCodeModel: Fix expression to find lib dir.

Change-Id: I71362574d8437a7d95348c23eaf3698b7467b44d
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 084cd165
......@@ -42,8 +42,9 @@ defineReplace(findClangOnWindows) {
for (suffix, $$list(lib bin)) {
for (libname, $$list(clang libclang)) {
for (ext, FILE_EXTS) {
exists("$${LLVM_INSTALL_DIR}/$${suffix}/$${libname}.$${ext}")
exists("$${LLVM_INSTALL_DIR}/$${suffix}/$${libname}.$${ext}") {
return($${LLVM_INSTALL_DIR}/$${suffix}/)
}
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment