- use list append in more places (preferred method since its faster)
[blender.git] / source / blender / blenfont / CMakeLists.txt
index 8df40344e5e1aadc171b80d34f6e5d0bb18a550e..abaf769bd3cf7ab91e1c882d52a5b6c7588ed9ce 100644 (file)
 
 FILE(GLOB SRC intern/*.c)
 
 
 FILE(GLOB SRC intern/*.c)
 
-SET(INC 
-       ../../../intern/guardedalloc ../blenlib ../makesdna ../editors/include
-       ../blenkernel ../../../extern/glew/include .
+SET(INC
+       .
+       ../blenlib
+       ../makesdna
+       ../editors/include
+       ../blenkernel
+       ../../../intern/guardedalloc
+       ../../../extern/glew/include
        ${FREETYPE_INCLUDE_DIRS}
 )
 
 IF(WITH_INTERNATIONAL)
        ${FREETYPE_INCLUDE_DIRS}
 )
 
 IF(WITH_INTERNATIONAL)
-       SET(INC ${INC} ${GETTEXT_INC})
+       LIST(APPEND INC ${GETTEXT_INC})
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)
 
        ADD_DEFINITIONS(-DINTERNATIONAL)
 ENDIF(WITH_INTERNATIONAL)