cmake: Add comment to directory check

In review, this if statement was questioned as being a directory existence check in fact it is checking the value of the variable itself.
This commit is contained in:
lat9nq 2024-01-18 20:38:26 -05:00
parent d35fcb2558
commit e77461733b

View File

@ -19,7 +19,7 @@ if (NOT GIT_PROGRAM)
endif()
if (NOT EXISTS "${TZ_DIR}" OR NOT EXISTS "${TZIF_LIST_FILE}")
if (NOT TZDB2NX_ZONEINFO_DIR)
if (NOT TZDB2NX_ZONEINFO_DIR) # If a custom zoneinfo directory was specified
# tz's makefile can only build in-tree, so copy the whole source tree to a
# separate directory before building.
execute_process(