diff options
author | Sebastián Barschkis <sebbas@sebbas.org> | 2020-07-31 16:19:29 +0300 |
---|---|---|
committer | Sebastián Barschkis <sebbas@sebbas.org> | 2020-07-31 16:19:29 +0300 |
commit | 201b4051ba6b5eed0500067b27f5fe910fe06909 (patch) | |
tree | a2d5a9748deaa9f79ed434a6439d52bcea3a3e19 | |
parent | 81caec8c609891fea21d04bdfbecb3a0739bc06e (diff) |
Fluid: Fix missing WITH_FLUID in draw code
The new draw code from 486c7b87fb06 was just missing a WITH_FLUID flag.
-rw-r--r-- | source/blender/draw/CMakeLists.txt | 7 |
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() |