nx_tzdb: Rename GNU_DATE variable

The repository can handle either GNU date or Apple date now.
This commit is contained in:
lat9nq 2023-06-19 15:30:11 -04:00
parent 256c7ec0a7
commit bedb5135c0

View File

@ -7,7 +7,7 @@ add_library(nx_tzdb INTERFACE)
find_program(GIT git) find_program(GIT git)
find_program(GNU_MAKE make) find_program(GNU_MAKE make)
find_program(GNU_DATE date) find_program(DATE_PROG date)
set(CAN_BUILD_NX_TZDB true) set(CAN_BUILD_NX_TZDB true)
@ -17,7 +17,7 @@ endif()
if (NOT GNU_MAKE) if (NOT GNU_MAKE)
set(CAN_BUILD_NX_TZDB false) set(CAN_BUILD_NX_TZDB false)
endif() endif()
if (NOT GNU_DATE) if (NOT DATE_PROG)
set(CAN_BUILD_NX_TZDB false) set(CAN_BUILD_NX_TZDB false)
endif() endif()
if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID) if (CMAKE_SYSTEM_NAME STREQUAL "Windows" OR ANDROID)