vcpkg/ports/podofo/fix-compiler.patch

13 lines
517 B
Diff
Raw Normal View History

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)