nx_tzdb: Rename GNU_DATE variable
The repository can handle either GNU date or Apple date now.
This commit is contained in:
parent
256c7ec0a7
commit
bedb5135c0
1 changed files with 2 additions and 2 deletions
4
externals/nx_tzdb/CMakeLists.txt
vendored
4
externals/nx_tzdb/CMakeLists.txt
vendored
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue