diff --git a/src/main/native/packr/src/CMakeLists.txt b/src/main/native/packr/src/CMakeLists.txt index 4d9ab3c8..d6732ebc 100644 --- a/src/main/native/packr/src/CMakeLists.txt +++ b/src/main/native/packr/src/CMakeLists.txt @@ -6,6 +6,7 @@ endif() add_executable(packr WIN32 packr.cpp) if(WIN32) + set_target_properties(packr PROPERTIES LINK_FLAGS "/LARGEADDRESSAWARE") target_sources(packr PUBLIC win32/packr_win32.cpp win32/packr_win32.manifest) set_property(TARGET packr PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded") # multi-threaded statically-linked runtime elseif(APPLE)