- added /LARGEADDRESSAWARE linker flag to CMake project.

This commit is contained in:
Christoph Oelckers 2015-12-22 22:21:59 +01:00
parent 03ccf03b8f
commit beb7a8e4a2

View file

@ -123,7 +123,7 @@ FIND_PACKAGE_HANDLE_STANDARD_ARGS( GME
if( MSVC ) if( MSVC )
# Eliminate unreferenced functions and data # Eliminate unreferenced functions and data
# Perform identical COMDAT folding # Perform identical COMDAT folding
set( REL_LINKER_FLAGS "/opt:ref /opt:icf /nodefaultlib:msvcrt /TSAWARE" ) set( REL_LINKER_FLAGS "/opt:ref /opt:icf /nodefaultlib:msvcrt /TSAWARE /LARGEADDRESSAWARE" )
# String pooling # String pooling
# Function-level linking # Function-level linking