projects
/
webkit2gtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7748955
)
Disable USE_WOFF2 if the package is not found
author
Alberto Garcia
<berto@igalia.com>
Thu, 7 May 2020 10:47:16 +0000
(11:47 +0100)
committer
Alberto Garcia
<berto@igalia.com>
Thu, 7 May 2020 10:47:16 +0000
(11:47 +0100)
Forwarded: no
===================================================================
Gbp-Pq: Name detect-woff.patch
Source/cmake/OptionsGTK.cmake
patch
|
blob
|
history
diff --git
a/Source/cmake/OptionsGTK.cmake
b/Source/cmake/OptionsGTK.cmake
index 79012303d508532bf8476655ecfe5c689e448418..84a961616157887db9ed29424eecdd0fca6fe855 100644
(file)
--- 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 ()