Skip to content

Commit c2be458

Browse files
committed
snapcast: build only the selected one
Upstream CMakeLists.txt builds both snapserver and snapclient by default. So disable the other one explicitly. Signed-off-by: Szabolcs Hubai <[email protected]>
1 parent 7d9808b commit c2be458

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sound/snapcast/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,14 @@ define Package/snapserver
5353
$(call Package/snapcast/Default)
5454
TITLE+= (server)
5555
DEPENDS+=+libvorbis
56+
CMAKE_OPTIONS += -DBUILD_SERVER=ON -DBUILD_CLIENT=OFF
5657
endef
5758

5859
define Package/snapclient
5960
$(call Package/snapcast/Default)
6061
TITLE+= (client)
6162
DEPENDS+=+libvorbisidec
63+
CMAKE_OPTIONS += -DBUILD_SERVER=OFF -DBUILD_CLIENT=ON
6264
endef
6365

6466
define Package/snapserver/description

0 commit comments

Comments
 (0)