diff options
author | David Spickett <david.spickett@linaro.org> | 2022-12-05 11:33:29 +0000 |
---|---|---|
committer | David Spickett <david.spickett@linaro.org> | 2022-12-05 11:33:29 +0000 |
commit | 04aae2527bb1abea554ff8051a95cda9b1fea23c (patch) | |
tree | d919974f8648d1c2423ffccc8cd8aa414faefd21 | |
parent | 14af1ad4ee0ab0c453af75e43cf469bd530536cf (diff) | |
download | llvm-04aae2527bb1abea554ff8051a95cda9b1fea23c.zip llvm-04aae2527bb1abea554ff8051a95cda9b1fea23c.tar.gz llvm-04aae2527bb1abea554ff8051a95cda9b1fea23c.tar.bz2 |
[LLVM][Runtimes] Surround unknown runtime with ""
So that when you do something like:
-DLLVM_ENABLE_RUNTIMES=;compiler-rt;libcxx;libcxxabi;libunwind
You get:
Runtime "" is not a supported runtime. Supported runtimes are:
Instead of:
Runtime is not a supported runtime. Supported runtimes are:
Which implies that "Runtime" is the name of the runtime you
tried to build, but in fact it was "".
-rw-r--r-- | llvm/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 60e1f29..2535114 100644 --- a/llvm/CMakeLists.txt +++ b/llvm/CMakeLists.txt @@ -157,7 +157,7 @@ if(LLVM_ENABLE_RUNTIMES STREQUAL "all") endif() foreach(proj IN LISTS LLVM_ENABLE_RUNTIMES) if (NOT "${proj}" IN_LIST LLVM_SUPPORTED_RUNTIMES) - message(FATAL_ERROR "Runtime ${proj} is not a supported runtime. Supported runtimes are: ${LLVM_SUPPORTED_RUNTIMES}") + message(FATAL_ERROR "Runtime \"${proj}\" is not a supported runtime. Supported runtimes are: ${LLVM_SUPPORTED_RUNTIMES}") endif() endforeach() |