From a8090dc22c31a765961a01a64108576fd0637fc9 Mon Sep 17 00:00:00 2001 From: Braden Obrzut Date: Fri, 29 Nov 2013 02:09:27 -0500 Subject: [PATCH] - Remove a hardcoded "zdoom" so that the name passed into the copy operation should always match that passed to /MAP. --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ff29f27e7..60cdb01f8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1128,7 +1128,7 @@ if( ZDOOM_OUTPUT_OLDSTYLE AND NOT NO_GENERATOR_EXPRESSIONS ) if( ZDOOM_GENERATE_MAPFILE ) add_custom_command(TARGET zdoom POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different $ ${ZDOOM_OUTPUT_DIR}/$ - COMMAND ${CMAKE_COMMAND} -E copy_if_different $/zdoom.map ${ZDOOM_OUTPUT_DIR}/$.map + COMMAND ${CMAKE_COMMAND} -E copy_if_different $/${ZDOOM_EXE_NAME}.map ${ZDOOM_OUTPUT_DIR}/$.map COMMENT "Copying to output directory..." ) else( ZDOOM_GENERATE_MAPFILE ) add_custom_command(TARGET zdoom POST_BUILD