From ce45c004a3a80c6f30efda6bd14db49d9d571052 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Wed, 9 May 2012 09:49:24 +0000 Subject: classic compile error: GLEW_STATIC needs to be define when we use opengl functions --- source/blender/python/generic/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/python/generic/CMakeLists.txt') diff --git a/source/blender/python/generic/CMakeLists.txt b/source/blender/python/generic/CMakeLists.txt index 9a73911d697..eb8bd694231 100644 --- a/source/blender/python/generic/CMakeLists.txt +++ b/source/blender/python/generic/CMakeLists.txt @@ -46,4 +46,6 @@ set(SRC py_capi_utils.h ) +add_definitions(-DGLEW_STATIC) + blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}") -- cgit v1.2.3