mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 16:22:47 +01: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
d35c989902
commit
d9e2824c4e
1 changed files with 1 additions and 1 deletions
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")
|
if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND")
|
||||||
set(CAN_BUILD_NX_TZDB false)
|
set(CAN_BUILD_NX_TZDB false)
|
||||||
endif()
|
endif()
|
||||||
if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
|
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
|
||||||
# tzdb_to_nx currently requires a posix-compliant host
|
# tzdb_to_nx currently requires a posix-compliant host
|
||||||
set(CAN_BUILD_NX_TZDB false)
|
set(CAN_BUILD_NX_TZDB false)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue