[Bf-blender-cvs] [8260376] openvdb: Fix compile error wwhen building without OpenVDB

Kévin Dietrich noreply at git.blender.org
Sun Jan 17 22:19:24 CET 2016


Commit: 82603761bc7e0580f9fb9d6b4b1f46e3cb2b3400
Author: Kévin Dietrich
Date:   Sun Jan 17 22:19:13 2016 +0100
Branches: openvdb
https://developer.blender.org/rB82603761bc7e0580f9fb9d6b4b1f46e3cb2b3400

Fix compile error wwhen building without OpenVDB

===================================================================

M	intern/cycles/util/CMakeLists.txt

===================================================================

diff --git a/intern/cycles/util/CMakeLists.txt b/intern/cycles/util/CMakeLists.txt
index de4fa32..613c1fc 100644
--- a/intern/cycles/util/CMakeLists.txt
+++ b/intern/cycles/util/CMakeLists.txt
@@ -22,7 +22,6 @@ set(SRC
 	util_task.cpp
 	util_time.cpp
 	util_transform.cpp
-	util_volume.cpp
 )
 
 if(NOT CYCLES_STANDALONE_REPOSITORY)
@@ -93,6 +92,9 @@ if(WITH_OPENVDB)
     add_definitions(
         -DWITH_OPENVDB
     )
+    list(APPEND SRC
+		util_volume.cpp
+    )
 endif()
 
 include_directories(${INC})




More information about the Bf-blender-cvs mailing list