summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cerbero/build/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cerbero/build/build.py b/cerbero/build/build.py
index 9e2ff684..7adaec9c 100644
--- a/cerbero/build/build.py
+++ b/cerbero/build/build.py
@@ -671,7 +671,7 @@ class CMake (MakefilesBase):
elif self.config.target_platform == Platform.IOS:
system_name = 'iOS'
- if self.config.cross_compiling():
+ if self.config.cross_compiling() or self.config.target_platform == Platform.WINDOWS:
self.configure_options += [f'-DCMAKE_SYSTEM_NAME={system_name}']
if self.config.target_platform in (Platform.DARWIN, Platform.IOS):