Skip to content

Commit 40daca9

Browse files
de-nordiccarlescufi
authored andcommitted
zephyr: Remove TINYCBOR from interface libraries
It will no longer be needed to add TINYCBOR to list of interface libraries. Addresses issue: zephyrproject-rtos/zephyr#23324 Signed-off-by: Dominik Ermel <[email protected]>
1 parent 3cb8555 commit 40daca9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

zephyr/CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
if(CONFIG_TINYCBOR)
2-
zephyr_interface_library_named(TINYCBOR)
32

4-
target_include_directories(TINYCBOR INTERFACE ../include)
3+
zephyr_include_directories(../include)
54

65
zephyr_library()
76
zephyr_library_sources(
@@ -17,6 +16,4 @@ zephyr_library_sources_ifdef(
1716
zephyr_library_sources_ifdef(
1817
CONFIG_CBOR_PRETTY_PRINTING ../src/cborpretty.c)
1918

20-
zephyr_library_link_libraries(TINYCBOR)
21-
target_link_libraries(TINYCBOR INTERFACE zephyr_interface)
2219
endif()

0 commit comments

Comments
 (0)