diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:46:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-06-20 18:47:20 +0200 |
commit | b0a68702992d6c42814f5060c0181c2c1534fe07 (patch) | |
tree | fe10d6eec14eb6ea795f74e2df6d2938dbfd2df4 | |
parent | c1be0706d4872f31bcc09c0963c7602ac19f8c76 (diff) |
cmake: fix host win32 check
-rw-r--r-- | cmake/opentrack-i18n.cmake | 2 |
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") |