From 23817b351d9e9ee96d0e03f996a1559ac14a8308 Mon Sep 17 00:00:00 2001 From: Beats <61994374+Beats-Dh@users.noreply.github.com> Date: Tue, 2 Nov 2021 15:41:53 -0300 Subject: [PATCH] Fix recompile.sh (#18) --- recompile.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recompile.sh b/recompile.sh index f5b93ed6568..c3e63fa0e49 100755 --- a/recompile.sh +++ b/recompile.sh @@ -7,10 +7,10 @@ then echo "Clean build directory" rm -rf * echo "Configuring" - cmake .. + cmake -DCMAKE_TOOLCHAIN_FILE=../../vcpkg/scripts/buildsystems/vcpkg.cmake .. else mkdir "build" && cd build - cmake .. + cmake -DCMAKE_TOOLCHAIN_FILE=../../vcpkg/scripts/buildsystems/vcpkg.cmake .. fi make -j$(nproc) || exit 1 @@ -24,5 +24,5 @@ else echo "Saving old build" mv ./canary ./canary.old fi - cp ./build/canary ./canary + cp ./build/bin/canary ./canary fi