summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--externals/nx_tzdb/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt
index 1ec72d418..db00e9d40 100644
--- a/externals/nx_tzdb/CMakeLists.txt
+++ b/externals/nx_tzdb/CMakeLists.txt
@@ -20,7 +20,7 @@ endif()
if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND")
set(CAN_BUILD_NX_TZDB false)
endif()
-if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
+if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
# tzdb_to_nx currently requires a posix-compliant host
set(CAN_BUILD_NX_TZDB false)
endif()