vcpkg/ports/podofo/fix-compiler.patch
JonLiu1993 90bff083b4
[PoDoFo] update to 0.9.8 (#26046)
* [podofo] update to 0.9.8

* update version

* fix-x64-osx

* update version
2022-07-29 17:09:55 -07:00

13 lines
517 B
Diff

diff --git a/src/podofo/CMakeLists.txt b/src/podofo/CMakeLists.txt
index 16f0798..12fc0e8 100644
--- a/src/podofo/CMakeLists.txt
+++ b/src/podofo/CMakeLists.txt
@@ -1,5 +1,7 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
+set(CMAKE_CXX_STANDARD 14)
+
IF(NOT PODOFO_MAIN_CMAKELISTS_READ)
MESSAGE(FATAL_ERROR "Run cmake on the CMakeLists.txt in the project root, not the one in the 'src' directory. You will need to delete CMakeCache.txt from the current directory.")
ENDIF(NOT PODOFO_MAIN_CMAKELISTS_READ)