Skip to content

Commit 837ad10

Browse files
Revert "more explicit cmake command"
This reverts commit e70834c.
1 parent e70834c commit 837ad10

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

Modules/@babylonjs/react-native/postinstall.js

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,12 @@ const os = require("os");
22

33
function iosCMake() {
44
const { spawn } = require('child_process');
5-
const cmake = spawn(
6-
"npx",
7-
[
8-
9-
'./node_modules/cmake-runtime/bin/cmake',
10-
'-S',
11-
'ios',
12-
'-B',
13-
'Build/iOS',
14-
'-G',
15-
'Xcode',
5+
6+
const cmake = spawn('npx', [
7+
'cmake',
8+
'-S', 'ios',
9+
'-B', 'Build/iOS',
10+
'-G', 'Xcode',
1611
'-DFETCHCONTENT_FULLY_DISCONNECTED=ON',
1712
'-DBABYLON_NATIVE_BUILD_APPS=OFF',
1813
'-DBABYLON_NATIVE_PLUGIN_TESTUTILS=OFF',

0 commit comments

Comments
 (0)