From: Alberto Garcia Date: Wed, 4 Sep 2019 08:41:19 +0000 (+0100) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.24.4-1_deb10u1+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f4e8de05cd2a8009ab76d05575ad08458336a9e8;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 cf9c0b3f98..06e7aba2bd 100644 --- a/Source/cmake/OptionsGTK.cmake +++ b/Source/cmake/OptionsGTK.cmake @@ -365,7 +365,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 ()