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:
authorJacques Lucke <jacques@blender.org>2020-05-19 18:36:40 +0300
committerJacques Lucke <jacques@blender.org>2020-05-19 18:36:40 +0300
commitcfb7664d5b48d5b5dcb60f47fc6237cdb2be7cb1 (patch)
treeb938352ba8224ddcd6d251dc9fb6578b7c53fa7a /intern/opensubdiv
parent7fcf2e7d4af1429b461dec92b6d66ff09e9be9f3 (diff)
Fix: build error due to missing definitions
Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D7787
Diffstat (limited to 'intern/opensubdiv')
-rw-r--r--intern/opensubdiv/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/opensubdiv/CMakeLists.txt b/intern/opensubdiv/CMakeLists.txt
index e7292872e9c..c411e58be35 100644
--- a/intern/opensubdiv/CMakeLists.txt
+++ b/intern/opensubdiv/CMakeLists.txt
@@ -105,8 +105,8 @@ if(WITH_OPENSUBDIV)
data_to_c_simple(shader/gpu_shader_opensubdiv_geometry.glsl SRC)
data_to_c_simple(shader/gpu_shader_opensubdiv_fragment.glsl SRC)
- add_definitions(-DGLEW_STATIC)
add_definitions(-DOSD_USES_GLEW)
+ add_definitions(${GL_DEFINITIONS})
if(WIN32)
add_definitions(-DNOMINMAX)