Skip to content

Commit 51918f8

Browse files
committed
Try to fix nightly
1 parent 469778e commit 51918f8

2 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/nightly.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff 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

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ set(CMAKE_CXX_STANDARD 20)
3737
set(CMAKE_CXX_STANDARD_REQUIRED ON)
3838
set(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
4145
if(CMAKE_CURRENT_SOURCE_DIR MATCHES CMAKE_BINARY_DIR)
4246
message(STATUS "Please do an out-of-tree build:")

0 commit comments

Comments
 (0)