[Bf-blender-cvs] [4634178] openvdb: Correction to some CMakeLists.txt (missed those in some previous commit)
Kévin Dietrich
noreply at git.blender.org
Fri Jun 5 14:06:50 CEST 2015
Commit: 46341783966d4184b78e920e412d0efc8cd47be7
Author: Kévin Dietrich
Date: Sun May 17 23:49:38 2015 +0200
Branches: openvdb
https://developer.blender.org/rB46341783966d4184b78e920e412d0efc8cd47be7
Correction to some CMakeLists.txt (missed those in some previous commit)
===================================================================
M source/blender/blenkernel/CMakeLists.txt
M source/blender/nodes/CMakeLists.txt
===================================================================
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt
index f001133..d4b364e 100644
--- a/source/blender/blenkernel/CMakeLists.txt
+++ b/source/blender/blenkernel/CMakeLists.txt
@@ -479,6 +479,10 @@ if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
+if(WITH_OPENVDB)
+ add_definitions(-DWITH_OPENVDB)
+endif()
+
## Warnings as errors, this is too strict!
#if(MSVC)
# set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt
index b49501a..b5ba2e9 100644
--- a/source/blender/nodes/CMakeLists.txt
+++ b/source/blender/nodes/CMakeLists.txt
@@ -289,4 +289,8 @@ if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()
+if(WITH_OPENVDB)
+ add_definitions(-DWITH_OPENVDB)
+endif()
+
blender_add_lib(bf_nodes "${SRC}" "${INC}" "${INC_SYS}")
More information about the Bf-blender-cvs
mailing list