Merge branch 'master' into blender2.8
[blender.git] / source / blender / collada / CMakeLists.txt
index f860dfac08b30750a86d25a351dd6be1e6a53d7f..95edcff0555af548dae5afdf3abd83b0a8747d44 100644 (file)
 
 remove_strict_flags()
 
+FIND_FILE(_opencollada_with_animation_clip
+      NAMES
+        COLLADAFWAnimationClip.h
+      PATHS
+        ${OPENCOLLADA_INCLUDE_DIRS}
+      NO_DEFAULT_PATH
+    )
+
+IF(_opencollada_with_animation_clip)
+   add_compile_definitions(OPENCOLLADA_WITH_ANIMATION_CLIP)
+ENDIF()
+
 set(INC
        .
        ../blenkernel