Seth Hillbrand 0a5de5010f ADDED: Spacemouse support for Linux
Uses libspnav to handle spacemouse data.  Overlays on existing
spacemouse framework to handle view activation

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16133
2025-08-12 07:04:54 -07:00

14 lines
390 B
CMake

if( UNIX AND NOT APPLE )
add_library(3d-viewer_spacenav STATIC
spnav_viewer_plugin.cpp
)
add_dependencies( 3d-viewer_spacenav pcbcommon )
target_include_directories(3d-viewer_spacenav PRIVATE
${CMAKE_SOURCE_DIR}/common
${CMAKE_SOURCE_DIR}/3d-viewer
)
target_link_libraries(3d-viewer_spacenav
PRIVATE
kicommon
)
endif()