aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@gmail.com>2016-04-27 02:52:01 +0000
committerSam Spilsbury <smspillaz@gmail.com>2016-04-27 12:58:29 +0800
commit1a455d79456acda2e6f38b1ec0a1df8d722ccd8a (patch)
tree36d930bb80df20a6c834faa7ac2548dfe2025b8b
parent39f3afcc4bb821a0e107f5a5df496d9569d493d3 (diff)
videoplayer: Don't add ffmpeg as a dep to a target that may not exist
-rw-r--r--xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/CMakeLists.txt b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/CMakeLists.txt
index f6eb26998a..57dc2c98d6 100644
--- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/CMakeLists.txt
+++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/CMakeLists.txt
@@ -52,6 +52,6 @@ endif()
core_add_library(videorenderers_hwdec)
-if(ENABLE_INTERNAL_FFMPEG)
+if(ENABLE_INTERNAL_FFMPEG AND SOURCES)
add_dependencies(videorenderers_hwdec ffmpeg)
endif()