Skip to content
Commit bb09c458 authored by Jacob Siverskog's avatar Jacob Siverskog Committed by Anas Nashif
Browse files

cmake: Prevent infinite recursion



If SDK_VERSION for whatever reason is unset cmake will end up in an
inifite recursion loop, which for me crashed using cmake version
3.13.4 and exits with an error using 3.14.1.

This may happen if ZEPHYR_TOOLCHAIN_VARIANT is set to "zephyr", but
ZEPHYR_SDK_INSTALL_DIR is invalid (or unset).

Signed-off-by: default avatarJacob Siverskog <jacob@teenage.engineering>
parent 78714b4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment