calligra/calligra-3.2.1-c++17.patch

12 lines
328 B
Diff
Raw Permalink Normal View History

--- calligra-3.2.1/CMakeLists.txt
+++ calligra-3.2.1/CMakeLists.txt
@@ -108,7 +108,7 @@ message(STATUS "Release build: ${RELEASE
if (CMAKE_VERSION VERSION_LESS "3.1")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
else ()
- set (CMAKE_CXX_STANDARD 11)
+ set (CMAKE_CXX_STANDARD 17)
endif ()
############