mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
[CMake] Get rid of llvm_config() to expand dependencies.
CMake's target_link_libraries() will manage dependencies. Configuration time may be reduced by a few seconds. llvm-svn: 200765
This commit is contained in:
parent
a08db5a5e8
commit
b50ae4b3d0
@ -62,7 +62,7 @@ endmacro(llvm_config)
|
||||
function(explicit_llvm_config executable)
|
||||
set( link_components ${ARGN} )
|
||||
|
||||
explicit_map_components_to_libraries(LIBRARIES ${link_components})
|
||||
llvm_map_components_to_libnames(LIBRARIES ${link_components})
|
||||
target_link_libraries(${executable} ${LIBRARIES})
|
||||
endfunction(explicit_llvm_config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user