From 3fade2679380b2b4d7e24a96aeaaaef6a813de45 Mon Sep 17 00:00:00 2001 From: philippe44 Date: Tue, 29 Nov 2022 16:49:35 -0800 Subject: [PATCH] build protobuf --- components/spotify/cspot/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/spotify/cspot/CMakeLists.txt b/components/spotify/cspot/CMakeLists.txt index c1e43b50..9ff656ea 100644 --- a/components/spotify/cspot/CMakeLists.txt +++ b/components/spotify/cspot/CMakeLists.txt @@ -36,7 +36,7 @@ if(UNIX AND NOT APPLE) endif() # Build protobuf code -if(0) +if(1) set(NANOPB_OPTIONS "-I${CMAKE_CURRENT_SOURCE_DIR}") file(GLOB PROTOS protobuf/*.proto) nanopb_generate_cpp(PROTO_SRCS PROTO_HDRS RELPATH ${CMAKE_CURRENT_SOURCE_DIR} ${PROTOS})