forked from bartvdbraak/blender
Mantaflow: Address precompiler warning and related cleanup
* Address warning because of undefined OPENVDB usage * Remove unused WITH_FLUID definitions Differential Revision: https://developer.blender.org/D6919
This commit is contained in:
parent
69c587888b
commit
fc81eb74e7
@ -28,6 +28,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)
|
||||
|
@ -94,10 +94,6 @@ if(WITH_FREESTYLE)
|
||||
add_definitions(-DWITH_FREESTYLE)
|
||||
endif()
|
||||
|
||||
if(WITH_MOD_FLUID)
|
||||
add_definitions(-DWITH_FLUID)
|
||||
endif()
|
||||
|
||||
blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
|
||||
# Needed so we can use dna_type_offsets.h for defaults initialization.
|
||||
|
@ -86,10 +86,6 @@ if(WITH_IMAGE_OPENEXR)
|
||||
add_definitions(-DWITH_OPENEXR)
|
||||
endif()
|
||||
|
||||
if(WITH_MOD_FLUID)
|
||||
add_definitions(-DWITH_FLUID)
|
||||
endif()
|
||||
|
||||
if(WITH_FREESTYLE)
|
||||
list(APPEND INC
|
||||
../freestyle
|
||||
|
Loading…
Reference in New Issue
Block a user