From: Alberto Garcia Date: Mon, 4 Nov 2019 09:08:53 +0000 (+0000) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.26.1-3_deb10u1+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=26f1ac0e57f20feac0158f0b8b00150f30209e6c;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 f4f9a72cf3..ba791488d4 100644 --- a/Source/cmake/OptionsGTK.cmake +++ b/Source/cmake/OptionsGTK.cmake @@ -363,7 +363,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 ()