diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-12-14 16:30:26 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-15 21:12:15 +0000 |
commit | 30ba1a28dc305aa31411695832a47e24c5a864b3 (patch) | |
tree | 66e855b0df34d7ff01535e4de0d17d21675725a7 /zephyr/test/base32/CMakeLists.txt | |
parent | 88530597d9aa9363ccb63a30e97e0bd8243b2d91 (diff) | |
download | chrome-ec-30ba1a28dc305aa31411695832a47e24c5a864b3.tar.gz |
zephyr: put project(...) after find_package(Zephyr)
When including the Zephyr source, this will change the values of
CMAKE_C_COMPILER and CMAKE_CXX_COMPILER, causing cmake to execute
again having forgotten about some of the command (since these are
cached variables).
BUG=b:175248887
BRANCH=none
TEST=zmake testall, no "cached variables have changed" from cmake
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I7eb1004060b0ba51d8c336dfe507ad747abe80ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2591627
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/test/base32/CMakeLists.txt')
-rw-r--r-- | zephyr/test/base32/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/test/base32/CMakeLists.txt b/zephyr/test/base32/CMakeLists.txt index e6172218d6..6ae6f232a9 100644 --- a/zephyr/test/base32/CMakeLists.txt +++ b/zephyr/test/base32/CMakeLists.txt @@ -2,8 +2,8 @@ cmake_minimum_required(VERSION 3.13.1) set(BOARD native_posix) -project(base32) find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) +project(base32) # Need to ensure that we are including only zephyr definitions in include files # We cannot set these via kconfig, since this unit test does not bring in the |