mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 23:52:02 +00:00
Set delay loading for proper .dll depending on FMOD version (Studio vs. Ex)
This commit is contained in:
parent
7e61a1ce2b
commit
9c91686e0f
1 changed files with 10 additions and 1 deletions
|
@ -1343,7 +1343,16 @@ endif()
|
||||||
|
|
||||||
if( MSVC )
|
if( MSVC )
|
||||||
option( ZDOOM_GENERATE_MAPFILE "Generate .map file for debugging." OFF )
|
option( ZDOOM_GENERATE_MAPFILE "Generate .map file for debugging." OFF )
|
||||||
set( LINKERSTUFF "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\"" )
|
set( LINKERSTUFF "/MANIFEST:NO" )
|
||||||
|
|
||||||
|
if( NOT NO_FMOD )
|
||||||
|
if( FMOD_STUDIO )
|
||||||
|
set( LINKERSTUFF "${LINKERSTUFF} /DELAYLOAD:\"fmod${X64}.dll\"" )
|
||||||
|
else()
|
||||||
|
set( LINKERSTUFF "${LINKERSTUFF} /DELAYLOAD:\"fmodex${X64}.dll\"" )
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if( ZDOOM_GENERATE_MAPFILE )
|
if( ZDOOM_GENERATE_MAPFILE )
|
||||||
set( LINKERSTUFF "${LINKERSTUFF} /MAP" )
|
set( LINKERSTUFF "${LINKERSTUFF} /MAP" )
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue