[Loader] Fix android build ()

I probably should've tested this.
This commit is contained in:
acaruso-xx 2024-04-10 20:59:54 +00:00 committed by GitHub
parent 6ea595a780
commit a84d49a630
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ endif()
# I think CMake is trying to link zlib from the host system?
# This prevents it from doing that.
if (CMAKE_CROSSCOMPILING)
if (WIN32 AND CMAKE_CROSSCOMPILING)
set(MZ_FORCE_FETCH_LIBS ON)
endif()