mirror of
https://github.com/starr-dusT/tzdb_to_nx
synced 2024-03-05 21:18:52 -08:00
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:
parent
d35fcb2558
commit
e77461733b
2
externals/tz/CMakeLists.txt
vendored
2
externals/tz/CMakeLists.txt
vendored
@ -19,7 +19,7 @@ if (NOT GIT_PROGRAM)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (NOT EXISTS "${TZ_DIR}" OR NOT EXISTS "${TZIF_LIST_FILE}")
|
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
|
# tz's makefile can only build in-tree, so copy the whole source tree to a
|
||||||
# separate directory before building.
|
# separate directory before building.
|
||||||
execute_process(
|
execute_process(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user