diff options
Diffstat (limited to 'cmake/modules/LLVMConfig.cmake')
-rwxr-xr-x | cmake/modules/LLVMConfig.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/LLVMConfig.cmake b/cmake/modules/LLVMConfig.cmake index 1d8d090986..7c75dd029e 100755 --- a/cmake/modules/LLVMConfig.cmake +++ b/cmake/modules/LLVMConfig.cmake @@ -59,8 +59,8 @@ function(explicit_map_components_to_libraries out_libs) list(APPEND expanded_components "LLVM${c}Info") endif() elseif( c STREQUAL "native" ) - # TODO: we assume ARCH is X86. In this case, we must use nativecodegen - # component instead. Do nothing, as in llvm-config script. + # TODO: we assume ARCH is X86. + list(APPEND expanded_components "LLVMX86CodeGen") elseif( c STREQUAL "nativecodegen" ) # TODO: we assume ARCH is X86. list(APPEND expanded_components "LLVMX86CodeGen") |