mirror of https://github.com/pyodide/pyodide.git
fix: support cmake command mode (#4705)
This commit is contained in:
parent
6fb3d7340c
commit
b886ed2065
|
@ -16,6 +16,8 @@ myst:
|
|||
|
||||
## Unreleased
|
||||
|
||||
- {{ Fix }} Pass through `-E` (command mode) arguments in CMake wrapper {pr}`4705`.
|
||||
|
||||
- {{ Fix }} Fix exception handling in dynamic linking of int64 functions {pr}`4698`.
|
||||
|
||||
- {{ Enhancement }} `str(jsproxy)` has been adjusted to not raise an error if
|
||||
|
|
|
@ -479,7 +479,7 @@ def handle_command_generate_args( # noqa: C901
|
|||
return line
|
||||
elif cmd == "cmake":
|
||||
# If it is a build/install command, or running a script, we don't do anything.
|
||||
if "--build" in line or "--install" in line or "-P" in line:
|
||||
if "--build" in line or "--install" in line or "-P" in line or "-E" in line:
|
||||
return line
|
||||
|
||||
flags = get_cmake_compiler_flags()
|
||||
|
|
Loading…
Reference in New Issue