mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-06-06 07:45:56 +08:00
cmake: Check for target is Windows
MinGW has issues building tzdb2nx due to the headers being Windows specific. Download for this toolchain as well.
This commit is contained in:
parent
5562ef07f8
commit
d8ff2cb4e6
2
externals/nx_tzdb/CMakeLists.txt
vendored
2
externals/nx_tzdb/CMakeLists.txt
vendored
@ -20,7 +20,7 @@ endif()
|
||||
if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND")
|
||||
set(CAN_BUILD_NX_TZDB false)
|
||||
endif()
|
||||
if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
||||
# tzdb_to_nx currently requires a posix-compliant host
|
||||
set(CAN_BUILD_NX_TZDB false)
|
||||
endif()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user