summaryrefslogtreecommitdiffstats
path: root/externals/nx_tzdb
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-16 11:38:33 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-06-16 11:38:33 +0200
commit1fa16bc5943b997c28b2832b2f19a77eb689895b (patch)
treea0378cfbd24acc99d75c58e7bfb2e70d25664f72 /externals/nx_tzdb
parentcmake: Check for target is Windows (diff)
downloadyuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.gz
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.bz2
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.lz
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.xz
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.zst
yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.zip
Diffstat (limited to 'externals/nx_tzdb')
-rw-r--r--externals/nx_tzdb/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt
index db00e9d40..8429f82e5 100644
--- a/externals/nx_tzdb/CMakeLists.txt
+++ b/externals/nx_tzdb/CMakeLists.txt
@@ -20,8 +20,10 @@ endif()
if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND")
set(CAN_BUILD_NX_TZDB false)
endif()
-if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR ANDROID)
# tzdb_to_nx currently requires a posix-compliant host
+ # MinGW and Android are handled here due to the executable format being different from the host system
+ # TODO (lat9nq): cross-compiling support
set(CAN_BUILD_NX_TZDB false)
endif()