From f6084b2c438a9f238f8245262daa36780d3f0947 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Mon, 28 Jun 2021 07:51:57 +0200 Subject: [PATCH] Fix compile with last ecm. ("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 1c316e2..5e819f5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,6 +7,8 @@ project(layershellqt) set(PROJECT_VERSION "5.22.80") set(PROJECT_VERSION_MAJOR 5) +set(CMAKE_C_STANDARD 99) + set(QT_MIN_VERSION "5.15.0") set(KF5_MIN_VERSION "5.82")