diff options
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/find_llvm.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/find_llvm.cmake b/cmake/find_llvm.cmake index 49ca51d4..adf68c4f 100644 --- a/cmake/find_llvm.cmake +++ b/cmake/find_llvm.cmake @@ -173,7 +173,7 @@ else() set(created_targets "") foreach (llvm_lib ${_llvm_libs_list}) get_filename_component(llvm_lib_file_name "${llvm_lib}" NAME) - string(REGEX REPLACE "^(lib)?(LLVM[a-zA-Z0-9]+)\\..+$" "\\2" target_name "${llvm_lib_file_name}") + string(REGEX REPLACE "^(lib)?(LLVM[-.a-zA-Z0-9]+)\\..+$" "\\2" target_name "${llvm_lib_file_name}") list(APPEND targets_to_return "${target_name}") if (NOT TARGET "${target_name}") # DEBUG: message(STATUS "Creating imported target \"${target_name}\"" " for \"${llvm_lib}\"") |