Skip to content

Commit b4d8b19

Browse files
committed
Fixed missing C file in indtext unit test.
1 parent 607e787 commit b4d8b19

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

zephyr/tests/bacnet/indtext/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ if(BOARD STREQUAL unit_testing)
2626
${BACNET_SRC_PATH}.c
2727
${BACNET_TEST_PATH}/src/main.c
2828
)
29+
get_filename_component(BACNET_SRC ${BACNET_SRC_PATH} PATH)
30+
list(APPEND SOURCES
31+
${BACNET_SRC}/bacstr.c
32+
)
2933

3034
set(CONF_FILE "${CONF_FILE};prj.unit_testing.conf")
3135
find_package(Zephyr COMPONENTS unittest REQUIRED HINTS $ENV{ZEPHYR_BASE})

0 commit comments

Comments
 (0)