rename cmake include/libraries to conform with suggested cmake names
[blender.git] / source / gameengine / VideoTexture / CMakeLists.txt
index acab8de..c412363 100644 (file)
@@ -41,11 +41,15 @@ set(INC
        ../../../source/blender/python
        ../../../source/blender/python/generic
        ../../../source/blender/gpu
-       ../../../source/kernel/gen_system
+       ../../../intern/container
        ../../../intern/string
        ../../../intern/moto/include
        ../../../intern/guardedalloc
-       ../../../extern/glew/include
+       ../../../intern/ffmpeg
+)
+
+set(INC_SYS
+       ${GLEW_INCLUDE_PATH}
 )
 
 set(SRC
@@ -86,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}")