From ee4c9cd6d5ea4df8c43622328e308ef7b4c7374a Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 28 Jun 2021 08:03:12 +0200 Subject: [PATCH] Fix compile with last ecm (With https://invent.kde.org/frameworks/extra-cmake-modules/-/merge_requests/145 we have disabled the C and C++ specific compiler extensions) --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ae35e2e737..78eb65072f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.16) set(PROJECT_VERSION "5.22.80") # Handled by release scripts project(KWin VERSION ${PROJECT_VERSION}) +set(CMAKE_C_STANDARD 99) + set(QT_MIN_VERSION "5.15.0") set(KF5_MIN_VERSION "5.82")