fix: pass Lean CMake CI options to the Lake build (#8823)

This PR passes Lean options configured via CMake variables onto the Lake
build. For example, this will ensure CI' setting of `warningAsError` via
`LEAN_EXTRA_MAKE_OPTS` reaches Lake.
This commit is contained in:
Mac Malone 2025-06-24 07:39:29 -04:00 committed by GitHub
parent 3e8d28ae6b
commit ddbba944d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,10 @@ leanLibDir = "lib/lean"
# Destination for static libraries
nativeLibDir = "lib/lean"
# Additional options derived from the CMake configuration
# For example, CI will set `-DwarningAsError=true` through this
moreLeanArgs = [${LEAN_EXTRA_OPTS_TOML}]
[[lean_lib]]
name = "Init"
libName = "${LAKE_LIB_PREFIX}Init"