Skip to content

Commit 04dc2b9

Browse files
authored
Merge pull request #3147 from Huyston/develop
Fix Cmake compatibility issue on jpeg recipe
2 parents f491c6e + d9e943b commit 04dc2b9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonforandroid/recipes/jpeg/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def build_arch(self, arch):
4848
# Force disable shared, with the static ones is enough
4949
'-DENABLE_SHARED=0',
5050
'-DENABLE_STATIC=1',
51+
52+
# Fix cmake compatibility issue
53+
'-DCMAKE_POLICY_VERSION_MINIMUM=3.5',
5154
_env=env)
5255
shprint(sh.make, _env=env)
5356

0 commit comments

Comments
 (0)