summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-i18n.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-06-20 18:46:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-06-20 18:47:20 +0200
commitb0a68702992d6c42814f5060c0181c2c1534fe07 (patch)
treefe10d6eec14eb6ea795f74e2df6d2938dbfd2df4 /cmake/opentrack-i18n.cmake
parentc1be0706d4872f31bcc09c0963c7602ac19f8c76 (diff)
cmake: fix host win32 check
Diffstat (limited to 'cmake/opentrack-i18n.cmake')
-rw-r--r--cmake/opentrack-i18n.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/opentrack-i18n.cmake b/cmake/opentrack-i18n.cmake
index 7a47ad10..e89f5c42 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -31,7 +31,7 @@ function(otr_i18n_for_target_directory n)
endforeach()
# all sorts of problems
- if(WIN32)
+ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
set(to-null "2>NUL")
else()
set(to-null "2>/dev/null")