SHA256
1
0
forked from pool/pdfmixtool
Files
pdfmixtool/stop_using_obsolete_standards.patch
Asterios Dramis c191fd8169 Accepting request 1068463 from home:adamm:branches:devel:libraries:c_c++
This fixes a build failure with new qpdf that needs C++17 for
headers to actually work.

- stop_using_obsolete_standards.patch: stop clamping to obsolete
  standards like C++11 while build depenedencies now require C++17
  or later. Use compiler defaults instead.

OBS-URL: https://build.opensuse.org/request/show/1068463
OBS-URL: https://build.opensuse.org/package/show/Publishing/pdfmixtool?expand=0&rev=13
2023-03-01 19:18:02 +00:00

13 lines
424 B
Diff

Index: pdfmixtool-v1.1.1/CMakeLists.txt
===================================================================
--- pdfmixtool-v1.1.1.orig/CMakeLists.txt
+++ pdfmixtool-v1.1.1/CMakeLists.txt
@@ -5,7 +5,6 @@ project (PDFMixTool VERSION 1.1.1)
include(GNUInstallDirs)
include(FindPkgConfig)
-set(CMAKE_CXX_STANDARD 11)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)