make pkg-config optionally. But fail later when we actually need pkg-config as a fallback

This commit is contained in:
Mathis Logemann 2021-07-22 21:04:45 +02:00
parent 7b0aa9d3bf
commit 03b1f18c89

View file

@ -118,7 +118,7 @@ set(MAPNIK_OPTIONAL_LIBS "")
set(MAPNIK_OPTIONAL_LIBS_INCLUDE "")
# Begin project configuration
mapnik_find_package(PkgConfig REQUIRED)
mapnik_find_package(PkgConfig)
mapnik_find_threads()
mapnik_find_package(ICU REQUIRED COMPONENTS uc i18n data)
mapnik_find_package(Boost 1.61 REQUIRED COMPONENTS filesystem system regex)