summaryrefslogtreecommitdiff
path: root/src/codecs/CMakeLists.txt
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-12-03 17:50:59 +1100
committerjacqueline <me@jacqueline.id.au>2022-12-03 17:50:59 +1100
commitbf6f9cea20692501d92ac9730359e01edc89de70 (patch)
treef3d802f9b25fab6576dc3d01049d89aae2ce571a /src/codecs/CMakeLists.txt
parent16d5d29049c08e21f57f7928ceedf40586a2d294 (diff)
downloadtangara-fw-bf6f9cea20692501d92ac9730359e01edc89de70.tar.gz
building codec tests!
Diffstat (limited to 'src/codecs/CMakeLists.txt')
-rw-r--r--src/codecs/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/codecs/CMakeLists.txt b/src/codecs/CMakeLists.txt
index 9677e459..7807dc3e 100644
--- a/src/codecs/CMakeLists.txt
+++ b/src/codecs/CMakeLists.txt
@@ -1,8 +1,6 @@
idf_component_register(
SRCS "codec.cpp" "mad.cpp"
INCLUDE_DIRS "include"
- REQUIRES "result" "span")
+ REQUIRES "result" "span" "libmad")
-add_dependencies("${COMPONENT_LIB}" libmad)
target_compile_options("${COMPONENT_LIB}" PRIVATE ${EXTRA_WARNINGS})
-target_include_directories("${COMPONENT_LIB}" PRIVATE "${LIBMAD_INCLUDE}")