summaryrefslogtreecommitdiff
path: root/src/cbor_wrapper/CMakeLists.txt
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2022-12-02 13:39:00 +1100
committerjacqueline <me@jacqueline.id.au>2022-12-02 13:39:00 +1100
commit222c810b07ffc635fc7908d121e97e4d65ccc5c8 (patch)
tree91c7b5c72a11770ebf3695bf0c234597b2bc419d /src/cbor_wrapper/CMakeLists.txt
parent71a4f5166f5491dc0982a18d62c63e28b3a52faa (diff)
downloadtangara-fw-222c810b07ffc635fc7908d121e97e4d65ccc5c8.tar.gz
fix build errors
Diffstat (limited to 'src/cbor_wrapper/CMakeLists.txt')
-rw-r--r--src/cbor_wrapper/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cbor_wrapper/CMakeLists.txt b/src/cbor_wrapper/CMakeLists.txt
new file mode 100644
index 00000000..cd5186e0
--- /dev/null
+++ b/src/cbor_wrapper/CMakeLists.txt
@@ -0,0 +1,6 @@
+idf_component_register(
+ SRCS "cbor_decoder.cpp" "cbor_encoder.cpp"
+ INCLUDE_DIRS "include"
+ REQUIRES "cbor" "result")
+
+target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS})