Skip to content

Commit 119cd70

Browse files
author
David Spickett
committed
[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
1 parent 0109efe commit 119cd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/utils/llvm-locstats/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if (LLVM_BUILD_UTILS AND LLVM_BUILD_TOOLS)
1+
if (LLVM_INCLUDE_UTILS AND LLVM_INCLUDE_TOOLS)
22
add_custom_command(
33
OUTPUT ${LLVM_TOOLS_BINARY_DIR}/llvm-locstats
44
DEPENDS ${LLVM_MAIN_SRC_DIR}/utils/llvm-locstats/llvm-locstats.py

0 commit comments

Comments
 (0)