[CMake] Suppress SampleAnalyzerPlugin w/o ENABLE_STATIC_ANALYZER.

llvm-svn: 200532
This commit is contained in:
NAKAMURA Takumi 2014-01-31 11:19:09 +00:00
parent 413496f89b
commit a050e3e9bd
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ if(NOT CLANG_BUILD_EXAMPLES)
set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
endif()
if(CLANG_ENABLE_STATIC_ANALYZER)
add_subdirectory(analyzer-plugin)
endif()
add_subdirectory(clang-interpreter)
add_subdirectory(PrintFunctionNames)