if( KICAD_USE_3DCONNEXION ) add_library(3d-viewer_navlib STATIC "nl_3d_viewer_plugin.cpp" "nl_3d_viewer_plugin_impl.cpp" ) # Find the 3DxWare SDK component 3DxWare::NlClient # find_package(TDxWare_SDK 4.0 REQUIRED COMPONENTS 3DxWare::Navlib) target_compile_definitions(3d-viewer_navlib PRIVATE $ ) target_compile_options(3d-viewer_navlib PRIVATE $ ) target_include_directories(3d-viewer_navlib PRIVATE $ $ ) target_link_libraries(3d-viewer_navlib $ 3DxWare::Navlib ) else() add_library(3d-viewer_navlib STATIC "nl_3d_viewer_plugin.cpp" ) endif(KICAD_USE_3DCONNEXION)