From bedb5135c0c9981dae2e12a6b0dcf06d9a73635f Mon Sep 17 00:00:00 2001 From: lat9nq <22451773+lat9nq@users.noreply.github.com> Date: Mon, 19 Jun 2023 15:30:11 -0400 Subject: [PATCH] nx_tzdb: Rename GNU_DATE variable The repository can handle either GNU date or Apple date now. --- externals/nx_tzdb/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt index d5a1c6317..593786250 100644 --- a/externals/nx_tzdb/CMakeLists.txt +++ b/externals/nx_tzdb/CMakeLists.txt @@ -7,7 +7,7 @@ add_library(nx_tzdb INTERFACE) find_program(GIT git) find_program(GNU_MAKE make) -find_program(GNU_DATE date) +find_program(DATE_PROG date) set(CAN_BUILD_NX_TZDB true) @@ -17,7 +17,7 @@ endif() if (NOT GNU_MAKE) set(CAN_BUILD_NX_TZDB false) endif() -if (NOT GNU_DATE) +if (NOT DATE_PROG) set(CAN_BUILD_NX_TZDB false) endif() if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID)