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)
|
||||
|
||||
Reference in New Issue
Block a user