diff --git a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake index 65711b74f8..76504e0fe7 100644 --- a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake +++ b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake @@ -153,7 +153,9 @@ macro(InitializeFreeCADBuildOptions) option(BUILD_FEM_NETGEN "Build the FreeCAD FEM module with the NETGEN mesher" ON) option(FREECAD_USE_PCL "Build the features that use PCL libs" OFF) # 3/5/2021 current LibPack uses non-C++17 FLANN option(FREECAD_USE_3DCONNEXION "Use the 3D connexion SDK to support 3d mouse." ON) - elseif(APPLE) + elseif(APPLE AND FREECAD_3DCONNEXION_SUPPORT STREQUAL "NavLib") + option(FREECAD_USE_3DCONNEXION "Use the 3D connexion SDK to support 3d mouse." ON) + elseif(APPLE AND FREECAD_3DCONNEXION_SUPPORT STREQUAL "Raw input") find_library(3DCONNEXIONCLIENT_FRAMEWORK 3DconnexionClient) if(IS_DIRECTORY ${3DCONNEXIONCLIENT_FRAMEWORK}) option(FREECAD_USE_3DCONNEXION "Use the 3D connexion SDK to support 3d mouse." ON)