From 1101546e9c434630ced52a8189e55ced92f2e9d2 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Sat, 6 Feb 2016 13:05:41 -0500 Subject: [PATCH] - Fixed: Possible CMake wrong number of parameters configuration error. --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index bff1a36e3..add2b3f6a 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})