diff options
-rw-r--r-- | xbmc/cores/RetroPlayer/messages/CMakeLists.txt | 4 |
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() |