From fdc59cb5c10e5ece08190b482d45c6efd5afc066 Mon Sep 17 00:00:00 2001 From: Daniel Parker Date: Tue, 14 Nov 2023 22:27:10 -0500 Subject: [PATCH] clang issue --- .github/workflows/ubuntu.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 1991b25259..131c386089 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -103,9 +103,10 @@ jobs: run: | sudo apt update sudo apt install clang-13 + sudo apt install libc++-dev shell: bash - name: cmake - run: cmake -S . -B build -DJSONCONS_SANITIZE=ON -DCMAKE_BUILD_TYPE=Debug -DJSONCONS_BUILD_TESTS=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON + run: cmake -S . -B build -DJSONCONS_SANITIZE=ON -DCMAKE_BUILD_TYPE=Debug -DJSONCONS_BUILD_TESTS=On -DCMAKE_CXX_STANDARD=20 -DCMAKE_CXX_STANDARD_REQUIRED=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++20" env: CC: clang-13 CXX: clang++-13