summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2014-03-03 15:12:15 +0100
committerSebastian Dröge <sebastian@centricular.com>2014-03-03 15:49:30 +0100
commiteb0a6a4e51e46ca572b9d9223431ebf9466bba94 (patch)
tree9adcef4906b11db7632124e13b25b189ba67b138
parentdc08d95fc9cfcba80454a4dc07a1d478eeef8b3f (diff)
cmake: Build for "Linux" when the target platform is Android
-rw-r--r--cerbero/build/build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cerbero/build/build.py b/cerbero/build/build.py
index 0f0cf53e..3b893d61 100644
--- a/cerbero/build/build.py
+++ b/cerbero/build/build.py
@@ -307,6 +307,8 @@ class CMake (MakefilesBase):
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += ' -DCMAKE_SYSTEM_NAME=Windows '
+ elif self.config.target_platform == Platform.ANDROID:
+ self.configure_options += ' -DCMAKE_SYSTEM_NAME=Linux '
if self.config.platform == Platform.WINDOWS:
self.configure_options += ' -G\\"Unix Makefiles\\"'