- Fixed error in manifest embedding that stopped the binary from working on Windows XP.

- Tweaked PK3 copying commands so that it shouldn't be possible to end up with files named Debug/Release.
This commit is contained in:
Braden Obrzut 2013-11-26 12:49:23 -05:00
commit c7632174d8
2 changed files with 3 additions and 3 deletions

View file

@ -1108,7 +1108,7 @@ if( MSVC )
endif( ZDOOM_GENERATE_MAPFILE )
add_custom_command(TARGET zdoom POST_BUILD
COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\win32\\zdoom.exe.manifest\" -outputresource:\"$(TargetDir)$(TargetFileName)\"\;\#2
COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\win32\\zdoom.exe.manifest\" -outputresource:\"$(TargetDir)$(TargetFileName)\"\;\#1
COMMENT "Adding manifest..."
)