Skip to content

Commit a050e3e

Browse files
committed
[CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER.
llvm-svn: 200532
1 parent 413496f commit a050e3e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

clang/examples/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ if(NOT CLANG_BUILD_EXAMPLES)
22
set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
33
endif()
44

5+
if(CLANG_ENABLE_STATIC_ANALYZER)
56
add_subdirectory(analyzer-plugin)
7+
endif()
68
add_subdirectory(clang-interpreter)
79
add_subdirectory(PrintFunctionNames)

0 commit comments

Comments
 (0)