Skip to content

Commit 07697de

Browse files
alstrzebonskirlubos
authored andcommitted
samples: bluetooth: fast_pair: locator_tag: Fix build order
Adds cmake dependency to workaround build order issues related to offsets.h not being generated before the file which includes it is built. Jira: NCSDK-28956 Signed-off-by: Aleksander Strzebonski <[email protected]>
1 parent 7e464db commit 07697de

File tree

1 file changed

+3
-0
lines changed
  • samples/bluetooth/fast_pair/locator_tag/src/motion_detector

1 file changed

+3
-0
lines changed

samples/bluetooth/fast_pair/locator_tag/src/motion_detector/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ if(CONFIG_APP_PLATFORM_DK)
1414
target_sources(app_motion_detector PRIVATE platform_dk.c)
1515
elseif(CONFIG_APP_PLATFORM_THINGY)
1616
target_sources(app_motion_detector PRIVATE platform_thingy.c)
17+
# Workaround build order issue related to offsets.h not being generated
18+
# before the platform_thingy.c file which includes it is built.
19+
add_dependencies(app_motion_detector offsets_h)
1720
else()
1821
message(FATAL_ERROR "Unsupported platform")
1922
endif()

0 commit comments

Comments
 (0)