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.
1 parent 90cf085 commit e70834cCopy full SHA for e70834c
Modules/@babylonjs/react-native/postinstall.js
@@ -2,12 +2,17 @@ const os = require("os");
2
3
function iosCMake() {
4
const { spawn } = require('child_process');
5
-
6
- const cmake = spawn('npx', [
7
- 'cmake',
8
- '-S', 'ios',
9
- '-B', 'Build/iOS',
10
- '-G', 'Xcode',
+ const cmake = spawn(
+ "npx",
+ [
+ '[email protected]',
+ './node_modules/cmake-runtime/bin/cmake',
+ '-S',
11
+ 'ios',
12
+ '-B',
13
+ 'Build/iOS',
14
+ '-G',
15
+ 'Xcode',
16
'-DFETCHCONTENT_FULLY_DISCONNECTED=ON',
17
'-DBABYLON_NATIVE_BUILD_APPS=OFF',
18
'-DBABYLON_NATIVE_PLUGIN_TESTUTILS=OFF',
0 commit comments