Skip to content

Commit 3c7741d

Browse files
authored
Merge pull request #11928 from swiftlang/eng/blangmuir/165789721
[clang][cas] Build clang-cas-test even when CLANG_INCLUDE_TESTS=0
2 parents ebb4b9b + 4f6a33d commit 3c7741d

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)