We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5a10261 + 7eeba4d commit 13148dfCopy full SHA for 13148df
platforms/js/build_js.py
@@ -77,7 +77,9 @@ def clean_build_dir(self):
77
rm_one(d)
78
79
def get_cmake_cmd(self):
80
- cmd = ["cmake",
+ cmd = [
81
+ "cmake",
82
+ "-DPYTHON_DEFAULT_EXECUTABLE=%s" % sys.executable,
83
"-DENABLE_PIC=FALSE", # To workaround emscripten upstream backend issue https://github.com/emscripten-core/emscripten/issues/8761
84
"-DCMAKE_BUILD_TYPE=Release",
85
"-DCMAKE_TOOLCHAIN_FILE='%s'" % self.get_toolchain_file(),
0 commit comments