On 2019/12/17 21:49, Matthias Kilian wrote:
> I need some help for letting calligra build with poppler-0.83.0.

I won't claim it's particularly elegant, but I think this might do the trick..
(not tested with new Poppler, but it puts the flag in the right place).


Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: patches/patch-CMakeLists_txt
diff -N patches/patch-CMakeLists_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-CMakeLists_txt        17 Dec 2019 22:45:36 -0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+
+Index: CMakeLists.txt
+--- CMakeLists.txt.orig
++++ CMakeLists.txt
+@@ -950,6 +950,9 @@ set(KOPAGEAPP_INCLUDES ${TEXTLAYOUT_INCLUDES}
+                     ${CMAKE_SOURCE_DIR}/libs/pageapp/commands
+                     ${CMAKE_BINARY_DIR}/libs/pageapp )
+ 
++
++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
++
+ #############################################
+ ####           filter libraries          ####
+ #############################################

Reply via email to