File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,11 +20,12 @@ jobs:
2020 cmake_arg : ' -DCMAKE_CXX_CLANG_TIDY=clang-tidy'
2121 qt_version : 6.6
2222
23- - name : clazy
24- cmake_arg : ' -DCMAKE_CXX_COMPILER=clazy'
25- qt_version : 6.6
26- apt_pgks :
27- - clazy
23+ # clazy from ubuntu 24 is based on clang 15 which is too old for this C++ version
24+ # - name: clazy
25+ # cmake_arg: '-DCMAKE_CXX_COMPILER=clazy'
26+ # qt_version: 6.4.2
27+ # apt_pgks:
28+ # - clazy
2829
2930 steps :
3031 - name : Install Qt ${{ matrix.config.qt_version }} with options and default aqtversion
Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ set(CMAKE_CXX_STANDARD 20)
3737set (CMAKE_CXX_STANDARD_REQUIRED ON )
3838set (CMAKE_CXX_EXTENSIONS OFF )
3939
40+ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
41+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++" )
42+ endif ()
43+
4044# Forbid in-tree building
4145if (CMAKE_CURRENT_SOURCE_DIR MATCHES CMAKE_BINARY_DIR )
4246 message (STATUS "Please do an out-of-tree build:" )
You can’t perform that action at this time.
0 commit comments