mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Uses libspnav to handle spacemouse data. Overlays on existing spacemouse framework to handle view activation Fixes https://gitlab.com/kicad/code/kicad/-/issues/16133
14 lines
390 B
CMake
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() |