Do not set unused configure options in flatpak.
This commit is contained in:
parent
4574a1cfed
commit
17a786092a
|
@ -23,6 +23,8 @@ class Kiwixlib(Dependency):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def configure_option(self):
|
def configure_option(self):
|
||||||
|
if self.buildEnv.platformInfo.build == 'flatpak':
|
||||||
|
return ""
|
||||||
base_option = "-Dctpp2-install-prefix={buildEnv.install_dir}"
|
base_option = "-Dctpp2-install-prefix={buildEnv.install_dir}"
|
||||||
if self.buildEnv.platformInfo.build == 'android':
|
if self.buildEnv.platformInfo.build == 'android':
|
||||||
base_option += ' -Dandroid=true'
|
base_option += ' -Dandroid=true'
|
||||||
|
|
Loading…
Reference in New Issue