Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Commit c8ebdb8

Browse files
committed
Update Fedora build to latest version.
1 parent 4713478 commit c8ebdb8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
popd
2525
2626
build-fedora:
27-
name: Build on Fedora 33 (Container)
27+
name: Build on Fedora Latest (Container)
2828
runs-on: ubuntu-latest
2929
container:
30-
image: fedora:33
30+
image: fedora:latest
3131
steps:
3232
- name: Install Deps
3333
run: dnf install -y cmake gcc-c++ openssh-clients util-linux openscap-devel qt5-qtbase-devel qt5-qtxmlpatterns-devel openssh-askpass asciidoc polkit-libs

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ if (WIN32)
142142
configure_file("win32-LICENSE.rtf" "${CMAKE_CURRENT_BINARY_DIR}/win32-LICENSE.rtf" COPYONLY)
143143
endif()
144144

145+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
146+
145147
# Enforce std=c++11 for old gcc versions to fix build in RHEL 7
146148
if (${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_LESS 4.9)
147149
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

0 commit comments

Comments
 (0)