Forgot .exe ending for Windows

This commit is contained in:
def 2018-01-14 16:11:09 +01:00
parent 4aeb0f9a8e
commit b3ad3f2d27

View file

@ -1374,7 +1374,7 @@ foreach(ext zip tar.gz tar.xz)
endforeach()
foreach(target ${CPACK_TARGETS})
list(APPEND COPY_TARGET_COMMANDS COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_FILE:${target}> ${TMPDIR}/)
list(APPEND STRIP_TARGET_COMMANDS COMMAND strip -s ${TMPDIR}/${target})
list(APPEND STRIP_TARGET_COMMANDS COMMAND strip -s ${TMPDIR}/$<TARGET_FILE_NAME:${target}>)
endforeach()
if(ext STREQUAL zip)