Commit 8f7cf4b5 authored by Paul Wicking's avatar Paul Wicking
Browse files

QDoc: Let build system discover and set LLVM_INSTALL_DIR variable


Task-number: QTBUG-67189
Change-Id: I9464103e619eccb6a10be9272cbbdb256c66e917
Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
Showing with 3 additions and 0 deletions
......@@ -56,7 +56,10 @@ for(_, $$list(_)) { # just a way to break easily
}
}
isEmpty(LLVM_INSTALL_DIR): LLVM_INSTALL_DIR = $$(LLVM_INSTALL_DIR)
# Assume libclang is installed on the target system
isEmpty(LLVM_INSTALL_DIR): LLVM_INSTALL_DIR = $$system("llvm-config --prefix")
LLVM_INSTALL_DIR = $$clean_path($$LLVM_INSTALL_DIR)
contains(QMAKE_HOST.arch, x86_64): \
clangInstallDir = $$replace(LLVM_INSTALL_DIR, _ARCH_, 64)
else: \
......
Supports Markdown
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