From 4e40f21e5d167996b0f5124587f23081363f0187 Mon Sep 17 00:00:00 2001 From: Chris Hennes Date: Fri, 5 Mar 2021 09:58:47 -0600 Subject: [PATCH] Default PCL to OFF on MSVC as well PCL was already defaulted to OFF on Linux, this changes the default to OFF on MSVC as well. This can be reverted once the primary LibPack for Windows includes a version of FLANN that compiles under C++17 (the last official release of FLANN, 1.9.1, does not, but the HEAD in their Git repository does). --- cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake index 2801cfccb3..a6083c4cb6 100644 --- a/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake +++ b/cMake/FreeCAD_Helpers/InitializeFreeCADBuildOptions.cmake @@ -150,7 +150,7 @@ macro(InitializeFreeCADBuildOptions) if(MSVC) 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" 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) find_library(3DCONNEXIONCLIENT_FRAMEWORK 3DconnexionClient)