aboutsummaryrefslogtreecommitdiffhomepage
path: root/externals
diff options
context:
space:
mode:
authorK900 <[email protected]>2024-01-27 17:25:52 +0300
committerK900 <[email protected]>2024-01-27 17:25:52 +0300
commita2407a296423d385603a79c53311500f099c34ca (patch)
tree09060ebcf84753701b1dd45dbc4ce465518b5633 /externals
parent16b79df8361f82e31143b3e7b05bd00a31a86fec (diff)
downloadyuzu-mainline-a2407a296423d385603a79c53311500f099c34ca.tar.gz
yuzu-mainline-a2407a296423d385603a79c53311500f099c34ca.zip
nx_tzdb: check for unpacked directory
Otherwise things get funny if the archive is downloaded, but the unpacking was interrupted.
Diffstat (limited to 'externals')
-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 0fad24642..13723f175 100644
--- a/externals/nx_tzdb/CMakeLists.txt
+++ b/externals/nx_tzdb/CMakeLists.txt
@@ -32,7 +32,7 @@ set(NX_TZDB_ARCHIVE "${CMAKE_CURRENT_BINARY_DIR}/${NX_TZDB_VERSION}.zip")
set(NX_TZDB_ROMFS_DIR "${CMAKE_CURRENT_BINARY_DIR}/nx_tzdb")
-if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_TZDB_ARCHIVE})
+if ((NOT CAN_BUILD_NX_TZDB OR YUZU_DOWNLOAD_TIME_ZONE_DATA) AND NOT EXISTS ${NX_TZDB_ROMFS_DIR})
set(NX_TZDB_DOWNLOAD_URL "https://github.com/lat9nq/tzdb_to_nx/releases/download/${NX_TZDB_VERSION}/${NX_TZDB_VERSION}.zip")
message(STATUS "Downloading time zone data from ${NX_TZDB_DOWNLOAD_URL}...")