diff options
author | K900 <me@0upti.me> | 2024-01-27 15:28:04 +0100 |
---|---|---|
committer | K900 <me@0upti.me> | 2024-01-27 15:28:04 +0100 |
commit | 3065ab0fd861ce7f394425dd72baa16f29b4d09d (patch) | |
tree | 81a39b4970dbaa9e3fb0b5d5599539daf77f5f1c /externals/nx_tzdb/NxTzdbCreateHeader.cmake | |
parent | nx_tzdb: check for unpacked directory (diff) | |
download | yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar.gz yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar.bz2 yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar.lz yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar.xz yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.tar.zst yuzu-3065ab0fd861ce7f394425dd72baa16f29b4d09d.zip |
Diffstat (limited to '')
-rw-r--r-- | externals/nx_tzdb/NxTzdbCreateHeader.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/externals/nx_tzdb/NxTzdbCreateHeader.cmake b/externals/nx_tzdb/NxTzdbCreateHeader.cmake index 8c29e1167..95606d862 100644 --- a/externals/nx_tzdb/NxTzdbCreateHeader.cmake +++ b/externals/nx_tzdb/NxTzdbCreateHeader.cmake @@ -11,6 +11,10 @@ execute_process( WORKING_DIRECTORY ${ZONE_PATH} OUTPUT_VARIABLE FILE_LIST) +if (NOT FILE_LIST) + message(FATAL_ERROR "No timezone files found in directory ${ZONE_PATH}, did the download fail?") +endif() + set(DIRECTORY_NAME ${HEADER_NAME}) set(FILE_DATA "") |