Edge Slide: Fix multi-object for loop early exit
[blender.git] / source / blender / python / generic / CMakeLists.txt
index c7b3612..c878103 100644 (file)
 # ***** END GPL LICENSE BLOCK *****
 
 set(INC
-       .
-       ../../blenkernel
-       ../../blenlib
-       ../../gpu
-       ../../makesdna
-       ../../../../intern/guardedalloc
-       ../../../../intern/glew-mx
+  .
+  ../../blenkernel
+  ../../blenlib
+  ../../gpu
+  ../../makesdna
+  ../../../../intern/glew-mx
+  ../../../../intern/guardedalloc
 )
 
 set(INC_SYS
-       ${GLEW_INCLUDE_PATH}
-       ${PYTHON_INCLUDE_DIRS}
+  ${GLEW_INCLUDE_PATH}
+  ${PYTHON_INCLUDE_DIRS}
 )
 
 set(SRC
-       bgl.c
-       blf_py_api.c
-       bpy_internal_import.c
-       bpy_threads.c
-       idprop_py_api.c
-       imbuf_py_api.c
-       py_capi_utils.c
-
-       bgl.h
-       blf_py_api.h
-       bpy_internal_import.h
-       idprop_py_api.h
-       imbuf_py_api.h
-       py_capi_utils.h
-
-       # header-only
-       python_utildefines.h
+  bgl.c
+  blf_py_api.c
+  bpy_threads.c
+  idprop_py_api.c
+  imbuf_py_api.c
+  py_capi_utils.c
+
+  bgl.h
+  blf_py_api.h
+  idprop_py_api.h
+  imbuf_py_api.h
+  py_capi_utils.h
+
+  # header-only
+  python_utildefines.h
+)
+
+set(LIB
+  ${GLEW_LIBRARY}
 )
 
 add_definitions(${GL_DEFINITIONS})
 
-blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}")
+blender_add_lib(bf_python_ext "${SRC}" "${INC}" "${INC_SYS}" "${LIB}")