Blob Blame History Raw
diff -Naur blender-2.78c.old/CMakeLists.txt blender-2.78c/CMakeLists.txt
--- blender-2.78c.old/CMakeLists.txt	2017-04-24 09:21:40.471125097 +0200
+++ blender-2.78c/CMakeLists.txt	2017-04-24 09:26:45.583477649 +0200
@@ -250,6 +250,10 @@
 option(WITH_OPENVDB       "Enable features relying on OpenVDB" OFF)
 option(WITH_OPENVDB_BLOSC "Enable blosc compression for OpenVDB, only enable if OpenVDB was built with blosc support" OFF)
 
+if(WITH_OPENVDB)
+    add_definitions(-DOPENVDB_3_ABI_COMPATIBLE)
+endif()
+
 # GHOST Windowing Library Options
 option(WITH_GHOST_DEBUG   "Enable debugging output for the GHOST library" OFF)
 mark_as_advanced(WITH_GHOST_DEBUG)