From: Alberto Garcia Date: Sun, 19 Apr 2020 23:50:19 +0000 (+0100) Subject: Disable USE_WOFF2 if the package is not found X-Git-Tag: archive/raspbian/2.28.2-2+rpi1^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b13008b816625e986d5af8b968ea01cc4cad95d1;p=webkit2gtk.git Disable USE_WOFF2 if the package is not found Forwarded: no =================================================================== Gbp-Pq: Name detect-woff.patch --- diff --git a/Source/cmake/OptionsGTK.cmake b/Source/cmake/OptionsGTK.cmake index e8df6525e3..979b5a3fd7 100644 --- a/Source/cmake/OptionsGTK.cmake +++ b/Source/cmake/OptionsGTK.cmake @@ -382,7 +382,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 ()