rename cmake include/libraries to conform with suggested cmake names
[blender.git] / source / gameengine / VideoTexture / CMakeLists.txt
index b544139..c412363 100644 (file)
@@ -46,6 +46,9 @@ set(INC
        ../../../intern/moto/include
        ../../../intern/guardedalloc
        ../../../intern/ffmpeg
+)
+
+set(INC_SYS
        ${GLEW_INCLUDE_PATH}
 )
 
@@ -87,9 +90,12 @@ set(SRC
 )
 
 if(WITH_CODEC_FFMPEG)
-       set(INC ${INC} ${FFMPEG_INC} ${PTHREADS_INC})
+       list(APPEND INC_SYS
+               ${FFMPEG_INCLUDE_DIRS}
+               ${PTHREADS_INCLUDE_DIRS}
+       )
        add_definitions(-DWITH_FFMPEG)
        add_definitions(-D__STDC_CONSTANT_MACROS)
 endif()
 
-blender_add_lib(ge_videotex "${SRC}" "${INC}")
+blender_add_lib(ge_videotex "${SRC}" "${INC}" "${INC_SYS}")