diff options
| author | David Spickett <david.spickett@arm.com> | 2019-12-19 10:17:53 +0000 |
|---|---|---|
| committer | David Spickett <david.spickett@arm.com> | 2019-12-19 10:44:34 +0000 |
| commit | 119cd70322af15ae61f5bd3530cf85fb27891d9f (patch) | |
| tree | c7492cbb9d28de06320abaad555d86382245e365 | |
| parent | 0109efe7513dd984cf67d102ce5179a5b24d58f6 (diff) | |
| download | bcm5719-llvm-119cd70322af15ae61f5bd3530cf85fb27891d9f.tar.gz bcm5719-llvm-119cd70322af15ae61f5bd3530cf85fb27891d9f.zip | |
[cmake] Include the llvm-locstats target when
utils and tools are not being built.
This was uncovered by: https://reviews.llvm.org/D71611
Which added llvm-locstats to the test dependencies.
Previously the build target was only added if you
were building tools. This meant that you couldn't
configure at all if you had LLVM_BUILD_TOOLS=OFF.
Differential revision: https://reviews.llvm.org/D71695
| -rw-r--r-- | llvm/utils/llvm-locstats/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/llvm-locstats/CMakeLists.txt b/llvm/utils/llvm-locstats/CMakeLists.txt index a919023e141..d5366f99050 100644 --- a/llvm/utils/llvm-locstats/CMakeLists.txt +++ b/llvm/utils/llvm-locstats/CMakeLists.txt @@ -1,4 +1,4 @@ -if (LLVM_BUILD_UTILS AND LLVM_BUILD_TOOLS) +if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS) add_custom_command( OUTPUT ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats DEPENDS ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py |

