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:
authorCampbell Barton <ideasman42@gmail.com>2014-04-09 05:48:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-09 05:52:34 +0400
commit9de24c82bab8fc6f1b8810979ac492787d32a964 (patch)
tree3c2466ebd791a52859ce19ffee8ff5ed518a6061 /source/blender/gpu/CMakeLists.txt
parentb1f97a0cdb1bf6c7e0f80c6edb3182870625b9a6 (diff)
View3D: disable LOD when game engine is disabled or ifdef'd
Diffstat (limited to 'source/blender/gpu/CMakeLists.txt')
-rw-r--r--source/blender/gpu/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt
index 93c80c68f24..739deffa519 100644
--- a/source/blender/gpu/CMakeLists.txt
+++ b/source/blender/gpu/CMakeLists.txt
@@ -69,6 +69,10 @@ data_to_c_simple(shaders/gpu_shader_vertex.glsl SRC)
data_to_c_simple(shaders/gpu_shader_vsm_store_frag.glsl SRC)
data_to_c_simple(shaders/gpu_shader_vsm_store_vert.glsl SRC)
+if(WITH_GAMEENGINE)
+ add_definitions(-DWITH_GAMEENGINE)
+endif()
+
if(WITH_MOD_SMOKE)
add_definitions(-DWITH_SMOKE)
endif()