forked from OSchip/llvm-project
[CMake] clang doesn't care whether CLANG_ENABLE_*(s) were set or not.
llvm-svn: 200533
This commit is contained in:
parent
a050e3e9bd
commit
b024162c20
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue