vcpkg/ports/poppler/0001-remove-CMAKE_CXX_STANDARD.patch
Ronald 63de431b40
[poppler] Add new port (#15158)
* port "poppler", it works, but needs a lot refinement.

* add poppler-cpp17

* add popper and poppper[cpp17]

* Use Options in vcpkg_configure_cmake instead of patches

* remove feature cpp17

* remove port-version for a new port

* add dependency fontconfig

* try to solve problems on linux

* zlib2 and png are default feature, let it be

* linux is not supported for misc problems

* remove test subdirectory for it to work in linux

* remove test subdirectory for it to work in linux

* fix patch files

* format manifest file using vcpkg foramt-manifest

* less dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* fix dependencies

* test dependencies devil

* test fix dependencies

* remove redundant fontconfig

* make zlib as an optional feature

* test zlib as a feature

* test fontconfig

* apply vcpkg format-manifest

Co-authored-by: abc <a@b.com>
2021-01-04 12:27:23 -08:00

25 lines
716 B
Diff

From 36fb9e11ab5b15fc003d77e7876e37339c37a55d Mon Sep 17 00:00:00 2001
From: abc <a@b.com>
Date: Wed, 16 Dec 2020 22:43:36 +0800
Subject: [PATCH 1/2] remove CMAKE_CXX_STANDARD
---
CMakeLists.txt | 1 -
1 file changed, 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1573249a..ec66b515 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,6 @@ string(REGEX REPLACE "^0?(.+)$" "\\1" POPPLER_MINOR_VERSION "${POPPLER_MINOR_VER
set(POPPLER_MICRO_VERSION "1")
set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION_STRING}.${POPPLER_MICRO_VERSION}")
-set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_LINK_DEPENDS_NO_SHARED TRUE)
--
2.29.2.windows.2