Skip to content
Commit 3953de79 authored by Manoel Brunnen's avatar Manoel Brunnen Committed by Carles Cufí
Browse files

cmake: Fix USER_CACHE_DIR path generation



When the optional env_suffix_${env_var} was not set, USER_CACHE_DIR was
slightly malformed and had double slashes,
e.g. /home/user/.cache//zephyr.

To fix it string(JOIN ...) is used, which only sets slashes when
necessary.

Signed-off-by: default avatarManoel Brunnen <mb@lee-brunnen.de>
parent 92621915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment