rename blenderlib to blender_add_lib
[blender.git] / source / blender / editors / space_api / CMakeLists.txt
index da140fe0982a81083226d66d19339c9d4d292b38..93f256cf3dadc706dc18d5b8811a498fb9c4b0d6 100644 (file)
@@ -19,9 +19,7 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
-SET(INC
+set(INC
        ../include
        ../../blenkernel
        ../../blenlib
@@ -31,4 +29,9 @@ SET(INC
        ../../../../intern/guardedalloc
 )
 
-BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}")
+set(SRC
+       space.c
+       spacetypes.c
+)
+
+blender_add_lib(bf_editor_space_api "${SRC}" "${INC}")