We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 032dc51 commit 8b92e4aCopy full SHA for 8b92e4a
ament_cmake_core/cmake/symlink_install/ament_cmake_symlink_install.cmake.in
@@ -240,7 +240,7 @@ function(ament_cmake_symlink_install_targets)
240
get_filename_component(fileext "${file}" EXT)
241
if(fileext STREQUAL ".a" OR fileext STREQUAL ".lib")
242
set(destination "${ARG_ARCHIVE_DESTINATION}")
243
- elseif(fileext STREQUAL ".dylib" OR fileext MATCHES "\\.so(\\.[0-9]+)?(\\.[0-9]+)?(\\.[0-9]+)?$")
+ elseif(fileext MATCHES "(\\.[0-9]+)?(\\.[0-9]+)?(\\.[0-9]+)?\\.dylib$" OR fileext MATCHES "\\.so(\\.[0-9]+)?(\\.[0-9]+)?(\\.[0-9]+)?$")
244
set(destination "${ARG_LIBRARY_DESTINATION}")
245
elseif(fileext STREQUAL "" OR fileext STREQUAL ".dll" OR fileext STREQUAL ".exe")
246
set(destination "${ARG_RUNTIME_DESTINATION}")
0 commit comments