mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-04 16:28:00 +01:00
mingw: link i686 binaries as large address aware so they can use more than 2GB RAM (up to 4GB)
This commit is contained in:
parent
a4bd7fbb0f
commit
8e1ece69f7
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,8 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
|||
|
||||
set(MINGDIR /usr/i686-w64-mingw32)
|
||||
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--large-address-aware")
|
||||
|
||||
# Do a no-op access on the CMAKE_TOOLCHAIN_FILE variable so that CMake will not issue a warning on it being unused.
|
||||
if (CMAKE_TOOLCHAIN_FILE)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue