[CMake] Mark runtime library link libraries as private
There's no need to expose these dependencies to consumers. This matches the change made to other runtimes in D57456. Differential Revision: https://reviews.llvm.org/D57873 llvm-svn: 353376
This commit is contained in:
parent
428c14d1db
commit
55a2fbe234
|
@ -280,7 +280,7 @@ function(add_compiler_rt_runtime name type)
|
|||
OUTPUT_NAME ${output_name_${libname}})
|
||||
set_target_properties(${libname} PROPERTIES FOLDER "Compiler-RT Runtime")
|
||||
if(LIB_LINK_LIBS)
|
||||
target_link_libraries(${libname} ${LIB_LINK_LIBS})
|
||||
target_link_libraries(${libname} PRIVATE ${LIB_LINK_LIBS})
|
||||
endif()
|
||||
if(${type} STREQUAL "SHARED")
|
||||
if(COMMAND llvm_setup_rpath)
|
||||
|
|
Loading…
Reference in New Issue