The OPENCOLLADA_ANIMATION_CLIP is supposed to turn on if it detects certain versions of OpenCOLLADA; however, this failed on my machine:
D:\workspace\blender\source\blender\io\collada\collada.cpp(64,20): error C2259: 'DocumentImporter': cannot instantiate abstract class [D:\workspace\build_windows_x64_vc17_Releas e\source\blender\io\collada\bf_collada.vcxproj] D:\workspace\blender\source\blender\io\collada\DocumentImporter.h(47): message : see declaration of 'DocumentImporter' [D:\workspace\build_windows_x64_vc17_Release\source\blende r\io\collada\bf_collada.vcxproj] D:\workspace\blender\source\blender\io\collada\collada.cpp(64,20): message : due to following members: [D:\workspace\build_windows_x64_vc17_Release\source\blender\io\collada\bf_ collada.vcxproj] D:\workspace\blender\source\blender\io\collada\collada.cpp(64,20): message : 'bool COLLADAFW::IWriter::writeAnimationClip(const COLLADAFW::AnimationClip *)': is abstract [D:\wor kspace\build_windows_x64_vc17_Release\source\blender\io\collada\bf_collada.vcxproj] D:\workspace\lib\win64_vc15\opencollada\include\opencollada\COLLADAFramework\COLLADAFWIWriter.h(115): message : see declaration of 'COLLADAFW::IWriter::writeAnimationClip' [D:\w orkspace\build_windows_x64_vc17_Release\source\blender\io\collada\bf_collada.vcxproj]
despite having setup dependencies according to Blender documentation with CMake and made sure I have the latest git checkout and latest svn checkout of the dependencies.
Removing the flag allows compilation to succeed. I believe this flag was originally used to support multiple versions of OpenCOLLADA. The library itself hasn't been updated for many years both upstream and in the bf-blender svn repository, so I don't think there is anymore need for this flag to be present to support older versions of OpenCOLLADA.
The last release was Nov 26, 2018: https://github.com/KhronosGroup/OpenCOLLADA/releases
Let me know if this is a reasonable change. This is my first time contributing to Blender and also first time contributing to a C++ project.
Thank you