summaryrefslogtreecommitdiffstats
path: root/configure.cmake
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-09-18 13:50:33 +0200
committerKai Koehne <kai.koehne@qt.io>2020-09-24 13:28:57 +0200
commit032fe8204ffe26ec9a85185903cd1ef54e823a15 (patch)
treed076e8930a441468457291f2962e70cd57470557 /configure.cmake
parentabf9d633713b9dfb56452baed868f82bfc3b7bc6 (diff)
CMake: Do not recommend using llvm-config anymore
cmake/FindWrapLibClang.cmake does automatically prepend environment variable and CMake variable LLVM_INSTALL_DIR to CMAKE_PREFIX_PATH. So let's document that. Change-Id: I73828e454676571beebcdc4eda3223f18824ecaa Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.cmake b/configure.cmake
index d0a64ea0f..f895eb30c 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -114,7 +114,7 @@ qt_configure_end_summary_section() # end of "Qt Tools" section
qt_configure_add_report_entry(
TYPE WARNING
MESSAGE "QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
- Either ensure that llvm-config is in your PATH environment variable, or set LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package. On Windows, you must set LLVM_INSTALL_DIR to the installation path."
+ Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation. On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution. On macOS, you can use Homebrew's llvm package."
CONDITION NOT QT_FEATURE_clang
)
qt_configure_add_report_entry(