archrelease: copy trunk to staging-x86_64
[arch-packages.git] / calligra / repos / testing-x86_64 / 2ac46db5.patch
bloba29f22f26aadfe559cbf7566da77f768f0834d6a
1 From 2ac46db52c6ad401f67ae5b5fcd859a5872f0311 Mon Sep 17 00:00:00 2001
2 From: Pierre Ducroquet <pinaraf@pinaraf.info>
3 Date: Sat, 1 May 2021 15:08:57 +0200
4 Subject: [PATCH] Small CMake modernization
6 diff --git a/CMakeLists.txt b/CMakeLists.txt
7 index fe6502493ed..b237f68fcb6 100644
8 --- a/CMakeLists.txt
9 +++ b/CMakeLists.txt
10 @@ -105,11 +90,7 @@ endif()
11 message(STATUS "Release build: ${RELEASE_BUILD}")
13 # use CPP-11
14 -if (CMAKE_VERSION VERSION_LESS "3.1")
15 - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
16 -else ()
17 - set (CMAKE_CXX_STANDARD 11)
18 -endif ()
19 +set (CMAKE_CXX_STANDARD 11)
21 ############
22 #############