diff options
| author | 2023-06-16 05:38:33 -0400 | |
|---|---|---|
| committer | 2023-06-16 05:38:33 -0400 | |
| commit | 1fa16bc5943b997c28b2832b2f19a77eb689895b (patch) | |
| tree | a0378cfbd24acc99d75c58e7bfb2e70d25664f72 /externals | |
| parent | cmake: Check for target is Windows (diff) | |
| download | yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.gz yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.tar.xz yuzu-1fa16bc5943b997c28b2832b2f19a77eb689895b.zip | |
cmake: Add warn about cross compiling, disable android
Diffstat (limited to 'externals')
| -rw-r--r-- | externals/nx_tzdb/CMakeLists.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/nx_tzdb/CMakeLists.txt b/externals/nx_tzdb/CMakeLists.txt index db00e9d40..8429f82e5 100644 --- a/externals/nx_tzdb/CMakeLists.txt +++ b/externals/nx_tzdb/CMakeLists.txt | |||
| @@ -20,8 +20,10 @@ endif() | |||
| 20 | if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND") | 20 | if ("${GNU_DATE}" STREQUAL "GNU_DATE-NOTFOUND") |
| 21 | set(CAN_BUILD_NX_TZDB false) | 21 | set(CAN_BUILD_NX_TZDB false) |
| 22 | endif() | 22 | endif() |
| 23 | if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") | 23 | if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows" OR ANDROID) |
| 24 | # tzdb_to_nx currently requires a posix-compliant host | 24 | # tzdb_to_nx currently requires a posix-compliant host |
| 25 | # MinGW and Android are handled here due to the executable format being different from the host system | ||
| 26 | # TODO (lat9nq): cross-compiling support | ||
| 25 | set(CAN_BUILD_NX_TZDB false) | 27 | set(CAN_BUILD_NX_TZDB false) |
| 26 | endif() | 28 | endif() |
| 27 | 29 | ||