diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-10-03 09:49:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-10-03 09:49:22 +0400 |
commit | 9e0a1b613f6b741bbdaaab6af35a1fc0743fe4b2 (patch) | |
tree | 212f661f52e23321973367406ca2b4bc4cea04a6 /CMakeLists.txt | |
parent | 8b718bee472f5b42b4109c772c0aa10f3688a8cb (diff) |
fix for cmake constructing an invalid include path.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 557c442c9db..a91b5a3bdac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 |