Revert "hopefully fix bin2c for msvc"

This reverts commit 01a75e8e6e.

The bin2c executable path is already a full absolute path.
This commit is contained in:
Rafael Kitover 2018-09-16 11:14:49 -07:00
parent 01a75e8e6e
commit 721c1b7c19
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function(host_compile src dst_cmd)
set(compile_command cc ${src} -o ${dst} ${link_flags}) set(compile_command cc ${src} -o ${dst} ${link_flags})
else() else()
# special case for Visual Studio # special case for Visual Studio
set(compile_command cl ${src} /link "/out:${CMAKE_BINARY_DIR}/${dst}") set(compile_command cl ${src} /link "/out:${dst}")
endif() endif()
execute_process(COMMAND ${compile_command} OUTPUT_VARIABLE compile_out ERROR_VARIABLE compile_out RESULT_VARIABLE compile_result) execute_process(COMMAND ${compile_command} OUTPUT_VARIABLE compile_out ERROR_VARIABLE compile_out RESULT_VARIABLE compile_result)