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
|
||||
def configure_option(self):
|
||||
if self.buildEnv.platformInfo.build == 'flatpak':
|
||||
return ""
|
||||
base_option = "-Dctpp2-install-prefix={buildEnv.install_dir}"
|
||||
if self.buildEnv.platformInfo.build == 'android':
|
||||
base_option += ' -Dandroid=true'
|
||||
|
|
Loading…
Reference in New Issue