Try to fix library error for Github Actions for Clang C++20

This commit is contained in:
John Wellbelove 2023-10-26 20:10:22 +02:00
parent 13759c1cbb
commit f208eb4073
2 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,7 @@ on:
push:
branches: [ master, development ]
pull_request:
branches: [ master ]
branches: [ master pull-request/*]
jobs:
build-clang-cpp11-linux-stl:

View File

@ -360,6 +360,7 @@ endif ()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
message(STATUS "Using Clang compiler")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++")
endif ()
if ((CMAKE_CXX_COMPILER_ID MATCHES "GNU") OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang"))