vcpkg/ports/mapnik/proj-find-fix.patch
Bert Huijben 56e89ebc21
[proj4] Update to 8.0.0 (#16494)
* [proj4,vtk,mapnik] Upgrade to proj 8.0.0. Make vtk compatible via upstream patch and mapnik by buildscript tweak.

* [mapnik, proj4, vtk]: add versions
2021-11-18 21:42:18 -08:00

14 lines
541 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 47bbaa1..43f384d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -304,7 +304,7 @@ if(USE_WEBP)
if(USE_PROJ)
#https://proj.org/development/cmake.html
- mapnik_find_package(PROJ ${PROJ_MIN_VERSION} QUIET)
+ mapnik_find_package(PROJ REQUIRED)
# currently the cmake files are not installed, when installing proj via apt-get. So search via pkg-config
if(NOT PROJ_FOUND)
message(STATUS "PROJ not found via FindPROJ. Searching via pkg-config...")