diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 98507327e..f50b90dc9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1165,7 +1165,7 @@ if( MSVC ) ) else( NO_GENERATOR_EXPRESSIONS ) add_custom_command(TARGET zdoom POST_BUILD - COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\win32\\zdoom.exe.manifest\" -outputresource:$ + COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\win32\\zdoom.exe.manifest\" -outputresource:\"$\"\;\#1 COMMENT "Adding manifest..." ) endif( NO_GENERATOR_EXPRESSIONS )