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