mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-31 03:48:40 +03:00
Update CMakeLists.txt
This commit is contained in:
@@ -24,12 +24,9 @@ set(CSPOT_TARGET_ESP32 ON)
|
|||||||
set(_secret $ENV{SPOTIFY_SECRET})
|
set(_secret $ENV{SPOTIFY_SECRET})
|
||||||
if(_secret)
|
if(_secret)
|
||||||
separate_arguments(_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()
|
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
|
# 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_VORBIS "idf::codecs" CACHE STRING "provide own codecs")
|
||||||
set(BELL_EXTERNAL_CJSON "idf::json" CACHE STRING "provide own CJSON")
|
set(BELL_EXTERNAL_CJSON "idf::json" CACHE STRING "provide own CJSON")
|
||||||
|
|||||||
Reference in New Issue
Block a user