forked from pool/pdfmixtool
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
13 lines
424 B
Diff
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)
|