Add GLEW_STATIC definition for CMake as well.
authorAntony Riakiotakis <kalast@gmail.com>
Mon, 7 Oct 2013 18:56:21 +0000 (18:56 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Mon, 7 Oct 2013 18:56:21 +0000 (18:56 +0000)
intern/cycles/blender/CMakeLists.txt

index 9b72efd90cf82cafad92b82eec90f504fdbabaca..25f91a0caea120ea1f6bc3a100d945ae84e690f6 100644 (file)
@@ -45,6 +45,8 @@ set(ADDON_FILES
        addon/ui.py
 )
 
+add_definitions(-DGLEW_STATIC)
+
 blender_add_lib(bf_intern_cycles "${SRC}" "${INC}" "${INC_SYS}")
 
 add_dependencies(bf_intern_cycles bf_rna)