Skip to content
This repository was archived by the owner on Aug 11, 2023. It is now read-only.

Commit f4757f6

Browse files
committed
set /LARGEADDRESSAWARE
This allows 32bit apps on 64bit Windows to use up to 4GB of memory
1 parent 624b2ce commit f4757f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/native/packr/src/CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ endif()
66

77
add_executable(packr WIN32 packr.cpp)
88
if(WIN32)
9+
set_target_properties(packr PROPERTIES LINK_FLAGS "/LARGEADDRESSAWARE")
910
target_sources(packr PUBLIC win32/packr_win32.cpp win32/packr_win32.manifest)
1011
set_property(TARGET packr PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded") # multi-threaded statically-linked runtime
1112
elseif(APPLE)

0 commit comments

Comments
 (0)