[CMake] clang doesn't care whether CLANG_ENABLE_*(s) were set or not.

llvm-svn: 200533
This commit is contained in:
NAKAMURA Takumi 2014-01-31 11:19:15 +00:00
parent a050e3e9bd
commit b024162c20
1 changed files with 0 additions and 21 deletions

View File

@ -32,27 +32,6 @@ target_link_libraries(clang
clangFrontendTool
)
if(CLANG_ENABLE_STATIC_ANALYZER)
target_link_libraries(clang
clangStaticAnalyzerFrontend
clangStaticAnalyzerCheckers
clangStaticAnalyzerCore
)
endif()
if(CLANG_ENABLE_ARCMT)
target_link_libraries(clang
clangARCMigrate
)
endif()
if(CLANG_ENABLE_REWRITER)
target_link_libraries(clang
clangRewriteCore
clangRewriteFrontend
)
endif()
set_target_properties(clang PROPERTIES VERSION ${CLANG_EXECUTABLE_VERSION})
set_target_properties(clang PROPERTIES ENABLE_EXPORTS 1)