From: Alberto Garcia Date: Thu, 13 Dec 2018 18:43:29 +0000 (+0000) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.22.5-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=91aa0eab99b411610f1fdfd131e39a40255199f2;p=webkit2gtk.git Disable USE_WOFF2 if the package is not found =================================================================== Gbp-Pq: Name detect-woff.patch --- diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake index b5eebcaa54..d038c73b5f 100644 --- a/Source/cmake/OptionsGTK.cmake +++ b/Source/cmake/OptionsGTK.cmake @@ -345,7 +345,8 @@ endif () if (USE_WOFF2) find_package(WOFF2Dec 1.0.2) if (NOT WOFF2DEC_FOUND) - message(FATAL_ERROR "libwoff2dec is needed for USE_WOFF2.") + set(USE_WOFF2 OFF) + message(STATUS "libwoff2dec is needed for USE_WOFF2.") endif () endif ()