aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Morten Kvarving <spiff@kodi.tv>2018-08-16 06:21:52 +0200
committerGitHub <noreply@github.com>2018-08-16 06:21:52 +0200
commitdc210c7286ffcff5dc6ac72ad3bc723a176f27b0 (patch)
tree793496ce936e2e448fb96f33233440015cb5a746
parent09bff6a0d0b2f08a667b1ef7c9b6963e7b7f16c7 (diff)
parenta2f06a5e16f7b37699c130a80736ec0be838b4b1 (diff)
Merge pull request #14297 from notspiff/flatbuffers_depend
fixed: add missing dependency for retroplayer messages
-rw-r--r--xbmc/cores/RetroPlayer/messages/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/xbmc/cores/RetroPlayer/messages/CMakeLists.txt b/xbmc/cores/RetroPlayer/messages/CMakeLists.txt
index e2e2ba6625..639722ca01 100644
--- a/xbmc/cores/RetroPlayer/messages/CMakeLists.txt
+++ b/xbmc/cores/RetroPlayer/messages/CMakeLists.txt
@@ -17,3 +17,7 @@ add_custom_target(retroplayer_messages DEPENDS ${FLATC_OUTPUTS})
set_target_properties(retroplayer_messages PROPERTIES FOLDER "Generated Messages"
INCLUDE_DIRECTORIES ${CMAKE_CURRENT_BINARY_DIR}
SOURCES ${FLATC_OUTPUTS})
+
+if(TARGET flatbuffers)
+ add_dependencies(retroplayer_messages flatbuffers)
+endif()