[CMake] Apply llvm_update_compile_flags() to add_clang_library().
llvm-svn: 200302
This commit is contained in:
parent
a679f43f4e
commit
89f7eaebe5
|
|
@ -307,6 +307,7 @@ macro(add_clang_library name)
|
|||
set(libkind)
|
||||
endif()
|
||||
add_library( ${name} ${libkind} ${srcs} )
|
||||
llvm_update_compile_flags(${name} ${ALL_FILES})
|
||||
add_dead_strip( ${name} )
|
||||
set_output_directory(${name} ${LLVM_RUNTIME_OUTPUT_INTDIR} ${LLVM_LIBRARY_OUTPUT_INTDIR})
|
||||
if( LLVM_COMMON_DEPENDS )
|
||||
|
|
|
|||
Loading…
Reference in New Issue