Skip to content
Snippets Groups Projects
Commit 9e0a1b61 authored by Campbell Barton's avatar Campbell Barton
Browse files

fix for cmake constructing an invalid include path.

parent 8b718bee
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment