chore(cpn): guard the macOS bundle's minimum system version (#7740)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
87e2329b6c
commit
fbae71964a
+4
-1
@@ -171,7 +171,10 @@ function(CollectCommandLineArgs out_var)
|
||||
else()
|
||||
set(_type :${_type})
|
||||
endif()
|
||||
list(APPEND _args "-D${_var}${_type}=${${_var}}")
|
||||
# Escape CMake's ';' so a multi-path value (CMAKE_PREFIX_PATH) stays one argument
|
||||
# instead of splitting; callers pair this with LIST_SEPARATOR | to restore it.
|
||||
string(REPLACE ";" "|" _value "${${_var}}")
|
||||
list(APPEND _args "-D${_var}${_type}=${_value}")
|
||||
endif()
|
||||
endforeach()
|
||||
set(${out_var} ${_args} PARENT_SCOPE)
|
||||
|
||||
@@ -25,6 +25,7 @@ include(ExternalProject)
|
||||
ExternalProject_Add(wasm
|
||||
SOURCE_DIR ${EDGETX_SOURCE_DIR}
|
||||
BINARY_DIR ${CMAKE_BINARY_DIR}/wasm-build
|
||||
LIST_SEPARATOR |
|
||||
CMAKE_ARGS
|
||||
${_forwarded_args}
|
||||
-Wno-dev
|
||||
|
||||
Reference in New Issue
Block a user