From: Alberto Garcia Date: Sun, 3 Mar 2019 13:49:26 +0000 (+0000) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.22.7-1+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=28c9a783fde41308058854846bed14a0b24879b2;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 984a7d25ef..1b2d2c012b 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 ()