diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-13 22:40:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-13 22:40:21 +0400 |
commit | 1fd33b6e777d54a3702e58253dabf94a752783e2 (patch) | |
tree | efe02ce8e079d6bf5448cf7c6d3fed7b9e39a86e /source/blender/gpu/CMakeLists.txt | |
parent | f94c9d5d612879aa5b7fec8be224b25aac870b5c (diff) |
cmake option to build without smoke sim: WITH_MOD_SMOKE
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r-- | source/blender/gpu/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt index ce3150476f9..76e347270ba 100644 --- a/source/blender/gpu/CMakeLists.txt +++ b/source/blender/gpu/CMakeLists.txt @@ -56,6 +56,10 @@ set(SRC intern/gpu_codegen.h ) +if(WITH_MOD_SMOKE) + add_definitions(-DWITH_SMOKE) +endif() + add_definitions(-DGLEW_STATIC) blender_add_lib(bf_gpu "${SRC}" "${INC}" "${INC_SYS}") |