rename blenderlib to blender_add_lib
[blender.git] / source / blender / editors / space_api / CMakeLists.txt
index 591e97f800fed8d52ed15c89bb67bb54b67f0b00..93f256cf3dadc706dc18d5b8811a498fb9c4b0d6 100644 (file)
 #
 # ***** END GPL LICENSE BLOCK *****
 
-FILE(GLOB SRC *.c)
-
-SET(INC
+set(INC
+       ../include
        ../../blenkernel
        ../../blenlib
-       ../include
-       ../../../../intern/guardedalloc
        ../../makesdna
        ../../makesrna
        ../../windowmanager
+       ../../../../intern/guardedalloc
+)
+
+set(SRC
+       space.c
+       spacetypes.c
 )
 
-BLENDERLIB(bf_editor_space_api "${SRC}" "${INC}")
+blender_add_lib(bf_editor_space_api "${SRC}" "${INC}")