diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bff1a36e3a..add2b3f6a2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1246,10 +1246,10 @@ if( MSVC ) option( ZDOOM_GENERATE_MAPFILE "Generate .map file for debugging." OFF ) set( LINKERSTUFF "/MANIFEST:NO /DELAYLOAD:\"fmodex${X64}.dll\"" ) if( ZDOOM_GENERATE_MAPFILE ) - set( LINKERSTUFF ${LINKERSTUFF} "/MAP" ) + set( LINKERSTUFF "${LINKERSTUFF} /MAP" ) endif() 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() set_target_properties(zdoom PROPERTIES LINK_FLAGS ${LINKERSTUFF})