mirror of
https://github.com/geode-sdk/geode.git
synced 2025-03-19 17:39:50 -04:00
Merge pull request #678 from acaruso-xx/main
[Loader] Enable 'MZ_FORCE_FETCH_LIBS'
This commit is contained in:
commit
6ea595a780
1 changed files with 6 additions and 0 deletions
|
@ -17,6 +17,12 @@ else()
|
|||
set(PROJECT_VERSION_SUFFIX "")
|
||||
endif()
|
||||
|
||||
# I think CMake is trying to link zlib from the host system?
|
||||
# This prevents it from doing that.
|
||||
if (CMAKE_CROSSCOMPILING)
|
||||
set(MZ_FORCE_FETCH_LIBS ON)
|
||||
endif()
|
||||
|
||||
# https://stackoverflow.com/a/63924044/9124836
|
||||
# https://stackoverflow.com/a/72396471
|
||||
execute_process(
|
||||
|
|
Loading…
Reference in a new issue