UI: Add /LARGEADDRESSAWARE for MSVC x86 executable
Use /LARGEADDRESSAWARE linker option when compiling 32bit executables on Windows. Closes obsproject/obs-studio#1546
This commit is contained in:
parent
884e61f078
commit
2168458601
@ -69,6 +69,10 @@ if(WIN32)
|
||||
crypt32
|
||||
blake2
|
||||
${OBS_JANSSON_IMPORT})
|
||||
|
||||
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /LARGEADDRESSAWARE")
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
set(obs_PLATFORM_SOURCES
|
||||
platform-osx.mm)
|
||||
|
Loading…
x
Reference in New Issue
Block a user