Fix broken build when using system Glew on linux.

This commit is contained in:
Bastien Montagne 2019-04-16 14:43:56 +02:00
parent 7fdffd735f
commit b53728b1d2
1 changed files with 6 additions and 1 deletions

View File

@ -124,9 +124,14 @@ set(SRC
)
set(LIB
extern_glew
)
if(NOT WITH_SYSTEM_GLEW)
list(APPEND LIB
${BLENDER_GLEW_LIBRARIES}
)
endif()
data_to_c_simple(shaders/gpu_shader_depth_only_frag.glsl SRC)
data_to_c_simple(shaders/gpu_shader_uniform_color_frag.glsl SRC)
data_to_c_simple(shaders/gpu_shader_checker_frag.glsl SRC)