Skip to content

Commit c372cbb

Browse files
committed
Update README to note that LORAMAC_SUFFIX must use FORCE override
1 parent 876d678 commit c372cbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

as-lib/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ endif()
104104
105105
set(LORAMAC_AS_LIB ON)
106106
set(LORAMAC_RADIO sx1276)
107-
set(LORAMAC_SUFFIX -Europe)
107+
set(LORAMAC_SUFFIX -Europe CACHE STRING "" FORCE) # must force override
108108
set(REGION_EU868 ON)
109109
add_subdirectory(loramac_SOURCE_DIR loramac${LORAMAC_SUFFIX})
110110
111111
set(REGION_EU868 OFF) # NB: Override last pass
112112
set(REGION_US915 ON)
113-
set(LORAMAC_SUFFIX -US)
113+
set(LORAMAC_SUFFIX -US CACHE STRING "" FORCE) # must force override
114114
add_subdirectory(loramac_SOURCE_DIR loramac${LORAMAC_SUFFIX})
115115
116116
# You now have targets loramac-Europe and loramac-US to link to your own targets

0 commit comments

Comments
 (0)