Skip to content

Commit

Permalink
FROMPULL: cmake: Fix FindDtc usage of find_package_handle_standard_args
Browse files Browse the repository at this point in the history
find_package_handle_standard_args is declared in the builtin package
FindPackageHandleStandardArgs, but since we don't explicitly include that
here, we may not have the function available yet.

Include what we use =)

zephyrproject-rtos/zephyr#56205

Change-Id: I43a49edd40cf7e3eacc04e42350857b812561b61
Signed-off-by: Jack Rosenthal <[email protected]>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/4616554
Reviewed-by: Aaron Massey <[email protected]>
Commit-Queue: Aaron Massey <[email protected]>
  • Loading branch information
jackrosenthal authored and Chromeos LUCI committed Jun 14, 2023
1 parent ddf38b8 commit be93e84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/modules/FindDtc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# 'DTC_VERSION_STRING'
# The version of devicetree compiler, dtc.

include(FindPackageHandleStandardArgs)

find_program(
DTC
dtc
Expand Down

0 comments on commit be93e84

Please sign in to comment.