summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-05-18 17:57:07 +0200
committerTim-Philipp Müller <tim@centricular.com>2021-06-07 19:04:14 +0100
commit4d47bb5003afba2f5b806f37f7335a6778060c15 (patch)
tree7588fa08169902c2d9065b4ae4a4bbbfc63673a3
parent45f8301b8afaf099632efa5815b55be2f0eba4d1 (diff)
build: configure_options does have a default value for CMake
Part-of: <https://gitlab.freedesktop.org/gstreamer/cerbero/-/merge_requests/707>
-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 b781d616..59a14027 100644
--- a/cerbero/build/build.py
+++ b/cerbero/build/build.py
@@ -647,6 +647,8 @@ class CMake (MakefilesBase):
if self.configure_options:
self.configure_options = self.configure_options.split()
+ else:
+ self.configure_options = []
if self.config.target_platform == Platform.WINDOWS:
self.configure_options += ['-DCMAKE_SYSTEM_NAME=Windows']