File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -293,16 +293,16 @@ else()
293293 message (WARNING "Currently running on Windows with no rust-utils file. Module code should work as expected, but client code may fail unexpectedly." )
294294endif ()
295295
296- if (NOT WIN32 ) # build `SHARED` on unix-based systems
297- add_library (viam_rust_utils SHARED IMPORTED )
298- target_link_directories (viam_rust_utils
299- INTERFACE
300- "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} >"
301- "$<INSTALL_INTERFACE:${CMAKE_INSTALL_LIBDIR} >"
302- )
303- set_property (TARGET viam_rust_utils PROPERTY IMPORTED_LOCATION ${viam_rust_utils_file} )
304-
305- elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64" ) # build `STATIC` for windows
296+ if (NOT WIN32 OR ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64" ) # build `SHARED` on unix-based systems
297+ # add_library(viam_rust_utils SHARED IMPORTED)
298+ # target_link_directories(viam_rust_utils
299+ # INTERFACE
300+ # "$<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}>"
301+ # "$<INSTALL_INTERFACE:${CMAKE_INSTALL_LIBDIR}>"
302+ # )
303+ # set_property(TARGET viam_rust_utils PROPERTY IMPORTED_LOCATION ${viam_rust_utils_file})
304+
305+ # elseif (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64") # build `STATIC` for windows
306306 add_library (viam_rust_utils STATIC IMPORTED )
307307 target_link_directories (viam_rust_utils
308308 INTERFACE
You can’t perform that action at this time.
0 commit comments