From: Alberto Garcia Date: Wed, 6 Nov 2019 12:29:56 +0000 (+0000) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.26.2-1_deb10+1+rpi1^2~1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=530b4e2c3878191d6792955b1ec6f7620f37fa22;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 5f269e8b1a..f473d52a36 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 ()