llvm.org GIT mirror llvm / 8150d8d
CMake: llvm_map_components_to_libraries now returns system libs too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110563 91177308-0d34-0410-b5e6-96231b3b80d8 Oscar Fuentes 9 years ago
2 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
77
88 set(LLVM_TOOLS_BINARY_DIR @LLVM_TOOLS_BINARY_DIR@)
99
10 set(HAVE_LLVM_CONFIG @HAVE_LLVM_CONFIG@)
10 set(LLVM_ENABLE_THREADS @LLVM_ENABLE_THREADS@)
1111
1212 if( NOT EXISTS LLVMConfig.cmake )
1313 set(CMAKE_MODULE_PATH
5151 # This is a variant intended for the final user:
5252 function(llvm_map_components_to_libraries OUT_VAR)
5353 explicit_map_components_to_libraries(result ${ARGN})
54 set( ${OUT_VAR} ${result} )
54 get_system_libs(sys_result)
55 set( ${OUT_VAR} ${result} ${sys_result} )
5556 endfunction(llvm_map_components_to_libraries)
5657
5758