use older API for build.dart
This commit is contained in:
@@ -107,7 +107,8 @@ void main(List<String> args) async {
|
|||||||
sources: sources,
|
sources: sources,
|
||||||
includes: ['native/include', 'native/include/filament'],
|
includes: ['native/include', 'native/include/filament'],
|
||||||
defines: defines,
|
defines: defines,
|
||||||
linkWith: linkWith,
|
// UNCOMMENT THIS IF YOU ARE BUILDING WITH THE CUSTOM native_toolchain_c FORK FOR WINDOWS
|
||||||
|
// linkWith: linkWith,
|
||||||
flags: [
|
flags: [
|
||||||
if (platform == "macos") '-mmacosx-version-min=13.0',
|
if (platform == "macos") '-mmacosx-version-min=13.0',
|
||||||
if (platform == "ios") '-mios-version-min=13.0',
|
if (platform == "ios") '-mios-version-min=13.0',
|
||||||
@@ -120,8 +121,8 @@ void main(List<String> args) async {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await cbuilder.run(
|
await cbuilder.run(
|
||||||
config: config,
|
buildConfig: config,
|
||||||
output: output,
|
buildOutput: output,
|
||||||
logger: logger,
|
logger: logger,
|
||||||
);
|
);
|
||||||
if (config.targetOS == OS.android) {
|
if (config.targetOS == OS.android) {
|
||||||
|
|||||||
Reference in New Issue
Block a user