Blob Blame History Raw
diff -Naur blender-2.79.old/CMakeLists.txt blender-2.79/CMakeLists.txt
--- blender-2.79.old/CMakeLists.txt	2017-09-12 05:44:17.000000000 +0200
+++ blender-2.79/CMakeLists.txt	2017-09-12 14:25:57.685127782 +0200
@@ -252,6 +252,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)