classic compile error: GLEW_STATIC needs to be define when we use opengl functions

This commit is contained in:
2012-05-09 09:49:24 +00:00
parent d20c129a9c
commit ce45c004a3
2 changed files with 3 additions and 1 deletions

View File

@@ -46,4 +46,6 @@ set(SRC
py_capi_utils.h
)
add_definitions(-DGLEW_STATIC)
blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}")