diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2012-05-09 13:49:24 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2012-05-09 13:49:24 +0400 |
commit | ce45c004a3a80c6f30efda6bd14db49d9d571052 (patch) | |
tree | d9c22dd95e6256defe10c5796ace994ad4e2a949 /source/blender/python/generic/CMakeLists.txt | |
parent | d20c129a9cef276dd7d54c3cd03a6e4cfb024cfa (diff) |
classic compile error: GLEW_STATIC needs to be define when we use opengl functions
Diffstat (limited to 'source/blender/python/generic/CMakeLists.txt')
-rw-r--r-- | source/blender/python/generic/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
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}") |