use full path and not simply name for target

This commit is contained in:
Stephen Birarda 2016-01-12 16:45:11 -08:00
parent 14196ba370
commit 3b12eef79b

View file

@ -21,7 +21,7 @@ macro(optional_win_executable_signing)
endif ()
if (NOT EXECUTABLE_PATH)
set(EXECUTABLE_PATH "$<TARGET_FILE_NAME:${TARGET_NAME}>")
set(EXECUTABLE_PATH "$<TARGET_FILE:${TARGET_NAME}>")
endif ()
# setup a post build command to sign the executable