svn merge -r37028:37030 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / makesrna / intern / CMakeLists.txt
index 8eec0f00c5a8f73dddfadd4ea00795595c17d05b..e0bd3df60f07639c54c2ec6402fa72715cb51230 100644 (file)
@@ -131,8 +131,14 @@ set(SRC
 )
 
 set(INC
+
+)
+
+set(INC_SYS
+
 )
 
+
 if(WITH_PYTHON)
        add_definitions(-DWITH_PYTHON)
 endif()
@@ -171,7 +177,7 @@ if(WITH_CODEC_QUICKTIME)
 endif()
 
 if(WITH_CODEC_FFMPEG)
-       list(APPEND INC ${FFMPEG_INC})
+       list(APPEND INC_SYS ${FFMPEG_INC})
        add_definitions(-DWITH_FFMPEG)
 endif()
 
@@ -218,6 +224,9 @@ blender_include_dirs(
        ../../../../intern/audaspace/intern
        ../../../../intern/guardedalloc
        ../../../../intern/memutil
+)
+
+blender_include_dirs_sys(
        ${GLEW_INCLUDE_PATH}
 )
 
@@ -243,4 +252,4 @@ set(SRC
        rna_nodetree_types.h
 )
 
-blender_add_lib(bf_rna "${SRC}" "${INC}")
+blender_add_lib(bf_rna "${SRC}" "${INC}" "${INC_SYS}")