summaryrefslogtreecommitdiff
path: root/mk/project.mk.in
diff options
context:
space:
mode:
Diffstat (limited to 'mk/project.mk.in')
-rw-r--r--mk/project.mk.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/project.mk.in b/mk/project.mk.in
index df845c613a..e47663fcdb 100644
--- a/mk/project.mk.in
+++ b/mk/project.mk.in
@@ -135,6 +135,13 @@ else
Windows_Host=NO
endif
+# Windows_Target=YES if we are targetting a Windows platform
+ifneq "$(findstring $(TargetOS_CPP), mingw32 cygwin32)" ""
+Windows_Target=YES
+else
+Windows_Target=NO
+endif
+
# Tell the build system what the host operating system is
# This distinguishes "msys" and "cygwin", which are not
# not distinguished by HOST_OS_CPP