mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-14 03:03:47 +01:00
nx_tzdb: add another safety assertion
This commit is contained in:
1 parent
76f5a5ea39
commit
7adae78132
1 file changed
+4
+4
@@ -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 "")
|
||||
|
||||
Reference in new issue
Block a user