From 9e0a1b613f6b741bbdaaab6af35a1fc0743fe4b2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 3 Oct 2012 05:49:22 +0000 Subject: fix for cmake constructing an invalid include path. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3