From the CMake documentation:
If COMMAND specifies an executable target name (created by the add_executable() command) it will automatically be replaced by the location of the executable created at build time
However I was unable to make it account for the .exe extension.
This diff uses a generator expression to specify the binary by using the
full path to the executable, determined at build time.