diff options
Diffstat (limited to 'llvm/cmake/modules/LLVM-Config.cmake')
-rw-r--r-- | llvm/cmake/modules/LLVM-Config.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/cmake/modules/LLVM-Config.cmake b/llvm/cmake/modules/LLVM-Config.cmake index fd50ca6aae1..c3fa59e8335 100644 --- a/llvm/cmake/modules/LLVM-Config.cmake +++ b/llvm/cmake/modules/LLVM-Config.cmake @@ -267,7 +267,8 @@ function(llvm_map_components_to_libnames out_libs) elseif( c STREQUAL "engine" ) # already processed elseif( c STREQUAL "all" ) - list(APPEND expanded_components ${LLVM_AVAILABLE_LIBS}) + get_property(all_components GLOBAL PROPERTY LLVM_COMPONENT_LIBS) + list(APPEND expanded_components ${all_components}) else() # Canonize the component name: string(TOUPPER "${c}" capitalized) |