Skip to content

Commit

Permalink
Try to fix library error for Github Actions for Clang C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
John Wellbelove committed Oct 26, 2023
1 parent 13759c1 commit f208eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
branches: [ master, development ]
pull_request:
branches: [ master ]
branches: [ master pull-request/*]

jobs:
build-clang-cpp11-linux-stl:
Expand Down
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit f208eb4

Please sign in to comment.