diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/mantaflow/CMakeLists.txt | 12 | ||||
-rw-r--r-- | intern/openvdb/CMakeLists.txt | 38 |
2 files changed, 1 insertions, 49 deletions
diff --git a/intern/mantaflow/CMakeLists.txt b/intern/mantaflow/CMakeLists.txt index d9b64b3a199..1ca523ccc44 100644 --- a/intern/mantaflow/CMakeLists.txt +++ b/intern/mantaflow/CMakeLists.txt @@ -27,7 +27,6 @@ add_definitions(-DWITH_FLUID=1) if(WITH_OPENVDB) add_definitions(-DOPENVDB=1) - add_definitions(-DOPENVDB_STATICLIB) else() add_definitions(-DOPENVDB=0) endif() @@ -66,22 +65,11 @@ endif() if(WITH_OPENVDB) 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 diff --git a/intern/openvdb/CMakeLists.txt b/intern/openvdb/CMakeLists.txt index a681d723b9c..2b7517a255c 100644 --- a/intern/openvdb/CMakeLists.txt +++ b/intern/openvdb/CMakeLists.txt @@ -35,28 +35,9 @@ set(LIB ) if(WITH_OPENVDB) - add_definitions( - -DWITH_OPENVDB - ${OPENVDB_DEFINITIONS} - ) - - if(WIN32) - add_definitions( - -DOPENVDB_STATICLIB - -D_USE_MATH_DEFINES - ) - endif() - - if(WITH_OPENVDB_3_ABI_COMPATIBLE) - add_definitions( - -DOPENVDB_3_ABI_COMPATIBLE - ) - endif() + add_definitions(-DWITH_OPENVDB ${OPENVDB_DEFINITIONS}) list(APPEND INC_SYS - ${BOOST_INCLUDE_DIR} - ${TBB_INCLUDE_DIRS} - ${OPENEXR_INCLUDE_DIRS} ${OPENVDB_INCLUDE_DIRS} ) @@ -79,23 +60,6 @@ if(WITH_OPENVDB) list(APPEND LIB ${OPENVDB_LIBRARIES} - ${OPENEXR_LIBRARIES} - ${ZLIB_LIBRARIES} - ) - - if(WITH_OPENVDB_BLOSC) - add_definitions( - -DWITH_OPENVDB_BLOSC - ) - list(APPEND LIB - ${BLOSC_LIBRARIES} - ${ZLIB_LIBRARIES} - ) - endif() - - list(APPEND LIB - ${BOOST_LIBRARIES} - ${TBB_LIBRARIES} ) endif() |