rename blenderlib to blender_add_lib
[blender.git] / source / blender / editors / space_view3d / CMakeLists.txt
index 36bc9c0..1f47a25 100644 (file)
@@ -19,7 +19,7 @@
 #
 # ***** END GPL LICENSE BLOCK *****
 
-SET(INC
+set(INC
        ../include
        ../../blenfont
        ../../blenkernel
@@ -34,7 +34,7 @@ SET(INC
        ../../../../intern/smoke/extern
 )
 
-SET(SRC
+set(SRC
        drawanimviz.c
        drawarmature.c
        drawmesh.c
@@ -55,11 +55,11 @@ SET(SRC
        view3d_intern.h
 )
 
-IF(WITH_GAMEENGINE)
-       LIST(APPEND INC ../../../kernel/gen_system)
-       ADD_DEFINITIONS(-DWITH_GAMEENGINE)
-ENDIF(WITH_GAMEENGINE)
+if(WITH_GAMEENGINE)
+       list(APPEND INC ../../../kernel/gen_system)
+       add_definitions(-DWITH_GAMEENGINE)
+endif()
 
-ADD_DEFINITIONS(-DGLEW_STATIC)
+add_definitions(-DGLEW_STATIC)
 
-BLENDERLIB(bf_editor_space_view3d "${SRC}" "${INC}")
+blender_add_lib(bf_editor_space_view3d "${SRC}" "${INC}")