mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-31 11:56:32 +03:00
non-crashing CSpot + spi_master and override fixes
This commit is contained in:
@@ -262,8 +262,7 @@ function(NANOPB_GENERATE_CPP SRCS HDRS)
|
||||
execute_process(COMMAND ${PROTOBUF_PROTOC_EXECUTABLE} --version OUTPUT_VARIABLE PROTOC_VERSION_STRING OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
string(REGEX MATCH "[(0-9)].*.[(0-9)].*.[(0-9)].*$" PROTOC_VERSION "${PROTOC_VERSION_STRING}")
|
||||
|
||||
#if(PROTOC_VERSION VERSION_LESS "3.6.0")
|
||||
if(0)
|
||||
if(PROTOC_VERSION AND PROTOC_VERSION VERSION_LESS "3.6.0")
|
||||
#try to use the older way
|
||||
string(REGEX MATCH ":" HAS_COLON_IN_PATH ${NANOPB_PLUGIN_OPTIONS} ${NANOPB_OUT})
|
||||
if(HAS_COLON_IN_PATH)
|
||||
|
||||
Reference in New Issue
Block a user