mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix: build error due to missing definitions
Reviewers: sergey, brecht Differential Revision: https://developer.blender.org/D7787
This commit is contained in:
parent
7fcf2e7d4a
commit
cfb7664d5b
3 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -401,4 +401,6 @@ if(WITH_XR_OPENXR)
|
|||
add_definitions(-DWITH_XR_OPENXR)
|
||||
endif()
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
||||
blender_add_lib(bf_draw "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
|
|
|
|||
|
|
@ -108,4 +108,6 @@ if(APPLE)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
add_definitions(${GL_DEFINITIONS})
|
||||
|
||||
blender_add_lib_nolist(bf_render "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue