[EFL] Add zlib depend when freetype is used.
[WebKit-https.git] / Source / cmake / OptionsEfl.cmake
index ed57993..9e36801 100644 (file)
@@ -124,6 +124,7 @@ ENDIF ()
 
 IF (FONT_BACKEND STREQUAL "freetype")
   FIND_PACKAGE(Freetype REQUIRED)
+  FIND_PACKAGE(ZLIB REQUIRED)
   SET(WTF_USE_FREETYPE 1)
   ADD_DEFINITIONS(-DWTF_USE_FREETYPE=1)
 ELSE ()