From e77461733bd6556896019c12c5036dd24b551c98 Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Thu, 18 Jan 2024 20:38:26 -0500 Subject: [PATCH] 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. --- externals/tz/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/externals/tz/CMakeLists.txt b/externals/tz/CMakeLists.txt index c3ceeda..948fe69 100644 --- a/externals/tz/CMakeLists.txt +++ b/externals/tz/CMakeLists.txt @@ -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(