projects
/
webkit2gtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95149da
)
Disable USE_WOFF2 if the package is not found
author
Alberto Garcia
<berto@igalia.com>
Mon, 13 Jul 2020 23:38:23 +0000
(
00:38
+0100)
committer
Alberto Garcia
<berto@igalia.com>
Mon, 13 Jul 2020 23:38:23 +0000
(
00:38
+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 ceeb52aff4699879ba21e5af0baad08e065227b6..7341c6c58bbc5b04cf35fb5b668b9373fc502a34 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 ()