From 7951ed6516aac7bcd43ebe6b48c087b4c23b9336 Mon Sep 17 00:00:00 2001 From: TorusHyperV <100166926+TorusHyperV@users.noreply.github.com> Date: Fri, 1 Nov 2024 12:42:30 +0100 Subject: [PATCH] ci - c++17 --- .github/workflows/build-and-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-release.yml b/.github/workflows/build-and-release.yml index c86b2ed..cdac81a 100644 --- a/.github/workflows/build-and-release.yml +++ b/.github/workflows/build-and-release.yml @@ -61,7 +61,7 @@ jobs: - name: Build Project run: | if [ "${{ matrix.compiler }}" == "mingw-g++" ]; then - g++ -I./src ./XanaduCLI/XanaduCLI.cpp ./src/XanaduXVD.cpp ./src/XVDTypes.cpp -o XanaduCLI${{ matrix.extension }} + g++ -std=c++17 -I./src ./XanaduCLI/XanaduCLI.cpp ./src/XanaduXVD.cpp ./src/XVDTypes.cpp -o XanaduCLI${{ matrix.extension }} else ${{ matrix.compiler }} -I./src ./XanaduCLI/XanaduCLI.cpp ./src/XanaduXVD.cpp ./src/XVDTypes.cpp -o XanaduCLI${{ matrix.extension }} fi