From 721c1b7c192eb7f2d458fbf9ae66f3ec413fb1ef Mon Sep 17 00:00:00 2001 From: Rafael Kitover Date: Sun, 16 Sep 2018 11:14:49 -0700 Subject: [PATCH] Revert "hopefully fix bin2c for msvc" This reverts commit 01a75e8e6ef862ade5bbe7815a5ecfc2de4779e5. The bin2c executable path is already a full absolute path. --- cmake/HostCompile.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/HostCompile.cmake b/cmake/HostCompile.cmake index f7e06a44..bcba1167 100644 --- a/cmake/HostCompile.cmake +++ b/cmake/HostCompile.cmake @@ -18,7 +18,7 @@ function(host_compile src dst_cmd) set(compile_command cc ${src} -o ${dst} ${link_flags}) else() # 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() execute_process(COMMAND ${compile_command} OUTPUT_VARIABLE compile_out ERROR_VARIABLE compile_out RESULT_VARIABLE compile_result)