File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -310,13 +310,12 @@ if (NOT WIN32 OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") # build `SHARED` on
310310 "$<INSTALL_INTERFACE:${CMAKE_INSTALL_LIBDIR} >"
311311 )
312312 set_property (TARGET viam_rust_utils PROPERTY IMPORTED_LOCATION ${viam_rust_utils_file} )
313- endif ()
314313
315- if (NOT BUILD_SHARED_LIBS ) # installing seems to be necessary for tests to pass in CI
316- install (
317- IMPORTED_RUNTIME_ARTIFACTS viam_rust_utils
318- LIBRARY COMPONENT viam-cpp-sdk_runtime
319- )
314+ if (NOT BUILD_SHARED_LIBS ) # installing seems to be necessary for tests to pass in CI
315+ install (
316+ FILES ${viam_rust_utils_file} DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT viam-cpp-sdk_runtime
317+ )
318+ endif ( )
320319endif ()
321320
322321# Install the license file
You can’t perform that action at this time.
0 commit comments