mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 05:14:40 -04:00
[Loader] Enable 'MZ_FORCE_FETCH_LIBS'
I think CMake is trying to link zlib from the host system? This prevents it from doing that. This also causes a fun new CMake warning when configuring for whatever reason.
This commit is contained in:
parent
b6dac6893b
commit
3fb52e3fe4
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…
Add table
Add a link
Reference in a new issue