summaryrefslogtreecommitdiff
path: root/src/codecs/CMakeLists.txt
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-11-21 14:46:32 +1100
committerjacqueline <me@jacqueline.id.au>2022-11-21 14:46:32 +1100
commit9f8cfaa7a8abd885785830e03d7c417e856b8a22 (patch)
tree4077bb707efdcf0704287a8724d593eb05ba12c3 /src/codecs/CMakeLists.txt
parent5f7444d7956a6cc517ada1b8b96c4f9cdd408fd5 (diff)
downloadtangara-fw-9f8cfaa7a8abd885785830e03d7c417e856b8a22.tar.gz
Implement using libmad to decode
Diffstat (limited to 'src/codecs/CMakeLists.txt')
-rw-r--r--src/codecs/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/codecs/CMakeLists.txt b/src/codecs/CMakeLists.txt
index 18150939..522aa885 100644
--- a/src/codecs/CMakeLists.txt
+++ b/src/codecs/CMakeLists.txt
@@ -1,4 +1,6 @@
-idf_component_register(INCLUDE_DIRS "include")
+idf_component_register(
+ SRCS "mad.cpp"
+ INCLUDE_DIRS "include")
-#target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
+target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})
add_dependencies("${COMPONENT_LIB}" libmad)