Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/mantaflow/CMakeLists.txt')
-rw-r--r--intern/mantaflow/CMakeLists.txt15
1 files changed, 3 insertions, 12 deletions
diff --git a/intern/mantaflow/CMakeLists.txt b/intern/mantaflow/CMakeLists.txt
index b2a0ab30a0c..5080f2d8cac 100644
--- a/intern/mantaflow/CMakeLists.txt
+++ b/intern/mantaflow/CMakeLists.txt
@@ -27,7 +27,8 @@ add_definitions(-DWITH_FLUID=1)
if(WITH_OPENVDB)
add_definitions(-DOPENVDB=1)
- add_definitions(-DOPENVDB_STATICLIB)
+else()
+ add_definitions(-DOPENVDB=0)
endif()
if(WIN32)
@@ -63,23 +64,13 @@ if(WITH_TBB)
endif()
if(WITH_OPENVDB)
+ add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS})
list(APPEND INC_SYS
- ${BOOST_INCLUDE_DIR}
- ${OPENEXR_INCLUDE_DIRS}
${OPENVDB_INCLUDE_DIRS}
)
list(APPEND LIB
${OPENVDB_LIBRARIES}
- ${OPENEXR_LIBRARIES}
- ${ZLIB_LIBRARIES}
- ${BOOST_LIBRARIES}
)
- if(WITH_OPENVDB_BLOSC)
- list(APPEND LIB
- ${BLOSC_LIBRARIES}
- ${ZLIB_LIBRARIES}
- )
- endif()
endif()
set(SRC