File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ else()
294294endif ()
295295
296296if (NOT WIN32 ) # build `SHARED` on unix-based systems
297- add_library (viam_rust_utils STATIC IMPORTED )
297+ add_library (viam_rust_utils SHARED IMPORTED )
298298 target_link_directories (viam_rust_utils
299299 INTERFACE
300300 "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} >"
@@ -313,12 +313,12 @@ elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") # build `STATIC` for windows
313313endif ()
314314
315315
316- # if (NOT WIN32) # installing seems to be necessary for tests to pass in CI
317- # install(
318- # IMPORTED_RUNTIME_ARTIFACTS viam_rust_utils
319- # LIBRARY COMPONENT viam-cpp-sdk_runtime
320- # )
321- # endif()
316+ if (NOT WIN32 ) # installing seems to be necessary for tests to pass in CI
317+ install (
318+ IMPORTED_RUNTIME_ARTIFACTS viam_rust_utils
319+ LIBRARY COMPONENT viam-cpp-sdk_runtime
320+ )
321+ endif ()
322322
323323# Install the license file
324324install (FILES
You can’t perform that action at this time.
0 commit comments