Update CMakeLists.txt

This commit is contained in:
philippe44
2025-12-26 21:37:35 +01:00
committed by GitHub
parent d55768ffe1
commit 9d8be934ac

View File

@@ -24,12 +24,9 @@ set(CSPOT_TARGET_ESP32 ON)
set(_secret $ENV{SPOTIFY_SECRET})
if(_secret)
separate_arguments(_secret)
set_source_files_properties(shim.cpp PROPERTIES COMPILE_OPTIONS "${_secret}")
set_source_files_properties(Shim.cpp PROPERTIES COMPILE_OPTIONS "${_secret}")
endif()
message(STATUS "THESE ARE SECRETS1! $ENV{SPOTIFY_SECRET}")
message(STATUS "THESE ARE SECRETS2! ${_secret}")
# because CMake is so broken, the cache set below overrides a normal "set" for the first build
set(BELL_EXTERNAL_VORBIS "idf::codecs" CACHE STRING "provide own codecs")
set(BELL_EXTERNAL_CJSON "idf::json" CACHE STRING "provide own CJSON")