Skip to content

Commit e21ba06

Browse files
committed
hardcode lib prefix
1 parent b1e8526 commit e21ba06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,14 +289,15 @@ elseif(NOT WIN32 OR rust_utils_supported_windows_arch) # TODO(RSDK-10366): Curre
289289
endif()
290290
message(WARNING "system processor is ${lvru_system_processor}")
291291

292-
set(shared_library_prefix CMAKE_SHARED_LIBRARY_PREFIX)
292+
set(shared_library_prefix ${CMAKE_SHARED_LIBRARY_PREFIX})
293293
if (WIN32)
294294
set(shared_library_prefix "lib")
295295
endif()
296+
message(WARNING "shared library prefix is ${CMAKE_SHARED_LIBRARY_PREFIX}")
296297

297298
file(
298299
DOWNLOAD
299-
https://github.com/viamrobotics/rust-utils/releases/latest/download/${shared_library_prefix}viam_rust_utils-${lvru_system_name}_${lvru_system_processor}${CMAKE_STATIC_LIBRARY_SUFFIX}
300+
https://github.com/viamrobotics/rust-utils/releases/latest/download/libviam_rust_utils-${lvru_system_name}_${lvru_system_processor}${CMAKE_STATIC_LIBRARY_SUFFIX}
300301
${viam_rust_utils_file}
301302
STATUS lvru_status
302303
)

0 commit comments

Comments
 (0)