diff --git a/.github/workflows/cmake_build.yml b/.github/workflows/cmake_build.yml index c85d879f1..7daabd4ef 100644 --- a/.github/workflows/cmake_build.yml +++ b/.github/workflows/cmake_build.yml @@ -28,7 +28,7 @@ jobs: include: - toolchain: linux-gcc - os: ubuntu-20.04 + os: ubuntu-22.04 compiler: gcc qt_version: "5.15.2" modules: "" diff --git a/CMakeLists.txt b/CMakeLists.txt index 2dc02dbb0..4c8701d02 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.8) +cmake_minimum_required(VERSION 3.11) cmake_policy(SET CMP0072 NEW) # new in 3.11. The NEW behavior for this policy is to set OpenGL_GL_PREFERENCE to GLVND. cmake_policy(SET CMP0068 NEW) # new in 3.9. The NEW behavior of this policy is to ignore the RPATH settings for install_name on macOS.