pass FLUTTER_TARGET_PLATFORM flag to cmake. (#150)
* pass FLUTTER_TARGET_PLATFORM flag to cmake. * chore: update AUTHORS. * Update elinux_build_target.dart
This commit is contained in:
@@ -8,3 +8,4 @@ Sony Group Corporation
|
||||
Michael Lamers (info@devmil.de)
|
||||
Andrea Daoud (andreadaoud6@gmail.com)
|
||||
Taha Firoz (mtahafiroz@gmail.com)
|
||||
Weiwei Duan (duanweiwei1982@gmail.com)
|
||||
|
||||
@@ -365,6 +365,7 @@ class NativeBundle {
|
||||
'cmake',
|
||||
'-DCMAKE_BUILD_TYPE=$cmakeBuildType',
|
||||
'-DFLUTTER_TARGET_BACKEND_TYPE=${buildInfo.targetBackendType}',
|
||||
'-DFLUTTER_TARGET_PLATFORM=elinux-${buildInfo.targetArch}',
|
||||
if (targetSysroot != '/') '-DCMAKE_SYSROOT=$targetSysroot',
|
||||
if (buildInfo.targetArch != hostArch)
|
||||
'-DCMAKE_SYSTEM_PROCESSOR=$targetArch',
|
||||
|
||||
Reference in New Issue
Block a user