Skip to content
Commit bb6a6e8f authored by Sebastian Bøe's avatar Sebastian Bøe Committed by Maureen Helm
Browse files

cmake: Move the invocation of 'project' earlier



The CMake documentation for 'project' states "Call the project()
command near the top of the top-level CMakeLists.txt". Meaning, it
should be run as early as possible.

An obscure internal error was observed when 'project' was located in
zephyr/CMakeLists.txt and was observed to be fixed after moving
'project' earlier, hence this patch that moves it earlier.

Invoking project depends on knowing information about the toolchain so
it is placed after target_toolchain.cmake.

Signed-off-by: default avatarSebastian Bøe <sebastian.boe@nordicsemi.no>
parent 7e0d8bcf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment