mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
CMake: llvm_map_components_to_libraries now returns system libs too.
llvm-svn: 110563
This commit is contained in:
parent
d955bbe69b
commit
fa75af0f2a
@ -8,7 +8,7 @@ set(LLVM_TARGETS_TO_BUILD @LLVM_TARGETS_TO_BUILD@)
|
||||
|
||||
set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@)
|
||||
|
||||
set(HAVE_LLVM_CONFIG @HAVE_LLVM_CONFIG@)
|
||||
set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
|
||||
|
||||
if( NOT EXISTS LLVMConfig.cmake )
|
||||
set(CMAKE_MODULE_PATH
|
||||
|
@ -52,7 +52,8 @@ endfunction(explicit_llvm_config)
|
||||
# This is a variant intended for the final user:
|
||||
function(llvm_map_components_to_libraries OUT_VAR)
|
||||
explicit_map_components_to_libraries(result ${ARGN})
|
||||
set( ${OUT_VAR} ${result} )
|
||||
get_system_libs(sys_result)
|
||||
set( ${OUT_VAR} ${result} ${sys_result} )
|
||||
endfunction(llvm_map_components_to_libraries)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user