]> git.sesse.net Git - vlc/commitdiff
chromecast: do not build unbuildable sources
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Oct 2014 17:57:15 +0000 (20:57 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Oct 2014 17:57:42 +0000 (20:57 +0300)
modules/stream_out/Modules.am

index 4d78f08042263d342a6384337557e57586a2e0b6..9167da1f82b6f55a100f0c3fbfd1ac5b4d807a56 100644 (file)
@@ -72,7 +72,6 @@ dummy.cpp:
 
 # Chromecast plugin
 SUFFIXES += .proto .pb.cc
-BUILT_SOURCES += chromecast/cast_channel.pb.cc
 
 %.pb.cc: %.proto
        $(PROTOC) --cpp_out=. -I$(srcdir) $<
@@ -82,5 +81,6 @@ SOURCES_stream_out_chromecast = chromecast/cast_channel.proto chromecast/cast.cp
 nodist_libstream_out_chromecast_plugin_la_SOURCES = chromecast/cast_channel.pb.cc
 
 if BUILD_CHROMECAST
+BUILT_SOURCES += chromecast/cast_channel.pb.cc
 stream_out_LTLIBRARIES += libstream_out_chromecast_plugin.la
 endif