From c372cbbefcea1972d5b997b9937d9a2fbd3d124e Mon Sep 17 00:00:00 2001 From: Dave Meehan Date: Sat, 15 Oct 2022 18:41:48 +0100 Subject: [PATCH] Update README to note that LORAMAC_SUFFIX must use FORCE override --- as-lib/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/as-lib/README.md b/as-lib/README.md index fb923829d..4e52fc94a 100644 --- a/as-lib/README.md +++ b/as-lib/README.md @@ -104,13 +104,13 @@ endif() set(LORAMAC_AS_LIB ON) set(LORAMAC_RADIO sx1276) -set(LORAMAC_SUFFIX -Europe) +set(LORAMAC_SUFFIX -Europe CACHE STRING "" FORCE) # must force override set(REGION_EU868 ON) add_subdirectory(loramac_SOURCE_DIR loramac${LORAMAC_SUFFIX}) set(REGION_EU868 OFF) # NB: Override last pass set(REGION_US915 ON) -set(LORAMAC_SUFFIX -US) +set(LORAMAC_SUFFIX -US CACHE STRING "" FORCE) # must force override add_subdirectory(loramac_SOURCE_DIR loramac${LORAMAC_SUFFIX}) # You now have targets loramac-Europe and loramac-US to link to your own targets