Skip to content

Commit 987760f

Browse files
tomchyanangl
authored andcommitted
suit: Link envelope info with platform error lib
Since envelope info library includes directly the platform error header, it is far easier to link them in CMake than remember to manually link platform error with each file that uses envelope info interface. Ref: NCSDK-31359 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent 34d0487 commit 987760f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/suit/envelope_info/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
zephyr_interface_library_named(suit_envelope_info)
1010
target_include_directories(suit_envelope_info INTERFACE include)
11+
target_link_libraries(suit_envelope_info INTERFACE suit_platform_err)
1112

1213
zephyr_library()
1314
zephyr_library_sources(src/suit_envelope_info.c)
1415

1516
zephyr_library_link_libraries(suit_envelope_info)
16-
zephyr_library_link_libraries(suit_platform_err)
1717
zephyr_library_link_libraries(suit_utils)
1818
zephyr_library_link_libraries(suit_memory_layout_interface)

0 commit comments

Comments
 (0)