Skip to content

Commit

Permalink
Try to fix library error for Github Actions for Clang C++20 (#784)
Browse files Browse the repository at this point in the history
(cherry picked from commit f208eb4)

The line got lost in 95c7f44.

Co-authored-by: John Wellbelove <[email protected]>
  • Loading branch information
dhebbeker and John Wellbelove authored Nov 14, 2023
1 parent f1dd0d4 commit 772db03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,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 772db03

Please sign in to comment.