From a28fd712a2d15476fb8ad38cf14b41b795134852 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 12 Oct 2022 12:12:50 +1100 Subject: [PATCH] fix cmakelists mangling --- main/CMakeLists.txt | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 7ab321c3..185ad2e6 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,15 +1,8 @@ -idf_component_register(SRCS - "gay-ipod-fw.cpp" - "dac.cpp" - "gpio-expander.cpp" - "battery.cpp" - "storage.cpp" - "i2c.cpp" - "playback.cpp" INCLUDE_DIRS "." REQUIRES - "esp_adc_cal" - "fatfs" - "audio_pipeline" - "audio_stream" - "result") - target_compile_options(${COMPONENT_LIB} PRIVATE - - DRESULT_DISABLE_EXCEPTIONS) +idf_component_register( + SRCS + "gay-ipod-fw.cpp" "dac.cpp" "gpio-expander.cpp" "battery.cpp" + "storage.cpp" "i2c.cpp" "playback.cpp" + INCLUDE_DIRS "." + REQUIRES + "esp_adc_cal" "fatfs" "audio_pipeline" "audio_stream" "result") +target_compile_options(${COMPONENT_LIB} PRIVATE -DRESULT_DISABLE_EXCEPTIONS)