summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2020-02-29 15:53:11 +0100
committerStanislaw Halik <sthalik@misaki.pl>2020-02-29 15:53:11 +0100
commit4ba56ff4d1c3e2922cf892b3d8f6a7e04bd91b84 (patch)
tree7b0ded9e0d55b7bbac8be01465378c50c175d3f4
parentb38c0dee1b9181ccdb3fbdd5d7da521d93dfdca1 (diff)
cmake: fix host system detection
-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 e89f5c42..398f59a4 100644
--- a/cmake/opentrack-i18n.cmake
+++ b/cmake/opentrack-i18n.cmake
@@ -68,7 +68,7 @@ function(otr_merge_translations)
set(qm-output "${CMAKE_BINARY_DIR}/${i}.qm")
# whines about duplicate messages since tracker-pt-base is static
- if(WIN32)
+ if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
set(to-null "2>NUL")
else()
set(to-null "2>/dev/null")