diff --git a/src/Base/CMakeLists.txt b/src/Base/CMakeLists.txt index d2bc36cdd6..467d1df2bf 100644 --- a/src/Base/CMakeLists.txt +++ b/src/Base/CMakeLists.txt @@ -37,8 +37,10 @@ if(MSVC) list(APPEND FreeCADBase_LIBS debug vcruntimed.lib debug ucrtd.lib + debug concrtd.lib optimized vcruntime.lib optimized ucrt.lib + optimized concrt.lib ) endif() elseif(MINGW) diff --git a/src/Mod/Points/App/Points.cpp b/src/Mod/Points/App/Points.cpp index f17f212b87..aceb5a0ec7 100644 --- a/src/Mod/Points/App/Points.cpp +++ b/src/Mod/Points/App/Points.cpp @@ -88,7 +88,7 @@ Base::BoundBox3d PointKernel::getBoundBox(void)const Base::BoundBox3d bnd; //FIXME: VS 2015 or later causes a linker error -#if defined (_MSC_VER) && (_MSC_VER <= 1800) +#if defined _WIN32 // Thread-local bounding boxes Concurrency::combinable bbs; // Cannot use a const_point_iterator here as it is *not* a proper iterator (fails the for_each template)