- Fixed: Possible CMake wrong number of parameters configuration error.

This commit is contained in:
Braden Obrzut 2016-02-06 13:05:41 -05:00
parent 0ab3051f75
commit 1101546e9c

View file

@ -1246,10 +1246,10 @@ 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 /DELAYLOAD:\"fmodex${X64}.dll\"" )
if( ZDOOM_GENERATE_MAPFILE ) if( ZDOOM_GENERATE_MAPFILE )
set( LINKERSTUFF ${LINKERSTUFF} "/MAP" ) set( LINKERSTUFF "${LINKERSTUFF} /MAP" )
endif() endif()
if( NOT NO_OPENAL ) if( NOT NO_OPENAL )
set( LINKERSTUFF ${LINKERSTUFF} "/DELAYLOAD:\"libmpg123-0.dll\" /DELAYLOAD:\"libsndfile-1.dll\"" ) set( LINKERSTUFF "${LINKERSTUFF} /DELAYLOAD:\"libmpg123-0.dll\" /DELAYLOAD:\"libsndfile-1.dll\"" )
endif() endif()
set_target_properties(zdoom PROPERTIES LINK_FLAGS ${LINKERSTUFF}) set_target_properties(zdoom PROPERTIES LINK_FLAGS ${LINKERSTUFF})