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:
authorSebastián Barschkis <sebbas@sebbas.org>2020-07-31 16:19:29 +0300
committerSebastián Barschkis <sebbas@sebbas.org>2020-07-31 16:19:29 +0300
commit201b4051ba6b5eed0500067b27f5fe910fe06909 (patch)
treea2d5a9748deaa9f79ed434a6439d52bcea3a3e19 /source/blender/draw/CMakeLists.txt
parent81caec8c609891fea21d04bdfbecb3a0739bc06e (diff)
Fluid: Fix missing WITH_FLUID in draw code
The new draw code from 486c7b87fb06 was just missing a WITH_FLUID flag.
Diffstat (limited to 'source/blender/draw/CMakeLists.txt')
-rw-r--r--source/blender/draw/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/draw/CMakeLists.txt b/source/blender/draw/CMakeLists.txt
index 8bd4832e446..f85b03dc517 100644
--- a/source/blender/draw/CMakeLists.txt
+++ b/source/blender/draw/CMakeLists.txt
@@ -404,6 +404,13 @@ data_to_c_simple(engines/overlay/shaders/xray_fade_frag.glsl SRC)
list(APPEND INC
)
+if(WITH_MOD_FLUID)
+ list(APPEND INC
+ ../../../intern/mantaflow/extern
+ )
+ add_definitions(-DWITH_FLUID)
+endif()
+
if(WITH_FREESTYLE)
add_definitions(-DWITH_FREESTYLE)
endif()