warning fixes and minor cmake changes.
[blender.git] / source / blender / editors / render / CMakeLists.txt
index 47c286f1744922d26483e8555542d7491002bdc3..d494355a1e9e47391e1f9b2e54a8a65919b6a72c 100644 (file)
 FILE(GLOB SRC *.c)
 
 SET(INC
+       ../include
        ../../blenfont
        ../../blenkernel
        ../../blenlib
        ../../blenloader
        ../../gpu
        ../../imbuf
-       ../include
-       ../../../../intern/guardedalloc
-       ../../../../extern/glew/include
        ../../makesdna
        ../../makesrna
-       ../../python
        ../../render/extern/include
        ../../windowmanager
+       ../../../../intern/guardedalloc
+       ../../../../extern/glew/include
 )
 
 IF(WITH_QUICKTIME)
-       SET(INC ${INC} ../quicktime ${QUICKTIME_INC})
+       LIST(APPEND INC ../../quicktime ${QUICKTIME_INC})
        ADD_DEFINITIONS(-DWITH_QUICKTIME)
 ENDIF(WITH_QUICKTIME)
 
@@ -48,7 +47,7 @@ IF(WITH_OPENMP)
 ENDIF(WITH_OPENMP)
 
 IF(WIN32)
-       SET(INC ${INC} ${PTHREADS_INC})
+       LIST(APPEND INC ${PTHREADS_INC})
 ENDIF(WIN32)
 
 BLENDERLIB(bf_editor_render "${SRC}" "${INC}")