mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 22:44:02 +08:00
Merge pull request #19208 from alalek:js_build_reuse_python
This commit is contained in:
commit
13148df9f2
@ -77,7 +77,9 @@ class Builder:
|
||||
rm_one(d)
|
||||
|
||||
def get_cmake_cmd(self):
|
||||
cmd = ["cmake",
|
||||
cmd = [
|
||||
"cmake",
|
||||
"-DPYTHON_DEFAULT_EXECUTABLE=%s" % sys.executable,
|
||||
"-DENABLE_PIC=FALSE", # To workaround emscripten upstream backend issue https://github.com/emscripten-core/emscripten/issues/8761
|
||||
"-DCMAKE_BUILD_TYPE=Release",
|
||||
"-DCMAKE_TOOLCHAIN_FILE='%s'" % self.get_toolchain_file(),
|
||||
|
Loading…
Reference in New Issue
Block a user