Skip to content

Commit 4f6a33d

Browse files
committed
[clang][cas] Build clang-cas-test even when CLANG_INCLUDE_TESTS=0
This utility is perhaps misnamed, as we also install it even when tests are disabled in some toolchains. For now, simply remove it from the CLANG_INCLUDE_TESTS check. rdar://165789721
1 parent 39b6af5 commit 4f6a33d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clang/tools/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ endif()
2525
if(CLANG_INCLUDE_TESTS)
2626
add_clang_subdirectory(c-index-test)
2727
add_clang_subdirectory(apinotes-test)
28-
add_clang_subdirectory(clang-cas-test)
2928
add_clang_subdirectory(clang-refactor-test)
3029
endif()
3130

31+
# Add clang-cas-test unconditionally, as it is not only used by tests.
32+
add_clang_subdirectory(clang-cas-test)
33+
3234
add_clang_subdirectory(IndexStore)
3335

3436
add_clang_subdirectory(clang-refactor)

0 commit comments

Comments
 (0)