fix for cmake constructing an invalid include path.

This commit is contained in:
Campbell Barton 2012-10-03 05:49:22 +00:00
parent 8b718bee47
commit 9e0a1b613f

@ -569,7 +569,7 @@ if(UNIX AND NOT APPLE)
# lame, but until we have proper find module for ffmpeg
set(FFMPEG_INCLUDE_DIRS ${FFMPEG}/include)
if(EXISTS "${FFMPEG}/include/ffmpeg/")
set(FFMPEG_INCLUDE_DIRS "${FFMPEG_INCLUDE_DIRS} ${FFMPEG}/include/ffmpeg")
list(APPEND FFMPEG_INCLUDE_DIRS "${FFMPEG}/include/ffmpeg")
endif()
# end lameness