mirror of
https://github.com/hathach/tinyusb.git
synced 2026-03-30 19:33:35 +00:00
fix incorrect check for NO_WARN_RWX_SEGMENTS_SUPPORTED. Use "NOT DEFINED" instead of "NOT VAR" to properly detect whether the variable is unset.
This commit is contained in:
@ -141,7 +141,7 @@ if (NOT FAMILY STREQUAL rp2040)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT NO_WARN_RWX_SEGMENTS_SUPPORTED)
|
||||
if (NOT DEFINED NO_WARN_RWX_SEGMENTS_SUPPORTED)
|
||||
set(NO_WARN_RWX_SEGMENTS_SUPPORTED 1)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user