From e190041b3aea096b8253bac3776541ecabda8576 Mon Sep 17 00:00:00 2001 From: Samruddhi Khandale Date: Wed, 1 May 2024 21:31:32 +0000 Subject: [PATCH] fix cpp --- src/cpp/test-project/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp/test-project/test.sh b/src/cpp/test-project/test.sh index d2bf1f2a5..509236424 100755 --- a/src/cpp/test-project/test.sh +++ b/src/cpp/test-project/test.sh @@ -17,7 +17,7 @@ if [ "$(dpkg --print-architecture)" = "amd64" ] ; then VCPKG_FORCE_SYSTEM_BINARIES=1 check "vcpkg-from-root" ${VCPKG_ROOT}/vcpkg --version VCPKG_FORCE_SYSTEM_BINARIES=1 check "vcpkg-from-bin" vcpkg --version fi -check "g++" g++ -g main.cpp -o main.out +check "g++" bash -c "sudo g++ -g main.cpp -o main.out" rm main.out mkdir -p build cd build