[CMake] Use find_package for zlib
[WebKit-https.git] / Source / cmake / OptionsWinCairo.cmake
1 set(WTF_PLATFORM_WIN_CAIRO 1)
2
3 include(OptionsWin)
4
5 find_package(Cairo 1.14.4 REQUIRED)
6 find_package(CURL 7.45.0 REQUIRED)
7 find_package(LibXml2 2.8.0 REQUIRED)
8 find_package(OpenSSL REQUIRED)
9 find_package(Sqlite REQUIRED)
10 find_package(ZLIB REQUIRED)
11
12 if (ENABLE_XSLT)
13     find_package(LibXslt 1.1.7 REQUIRED)
14 endif ()
15
16 SET_AND_EXPOSE_TO_BUILD(USE_CAIRO ON)
17
18 set(USE_CF 1)
19 set(USE_CURL 1)
20 set(USE_ICU_UNICODE 1)
21 set(USE_TEXTURE_MAPPER_GL 1)
22
23 set(ENABLE_GRAPHICS_CONTEXT_3D 1)
24
25 add_definitions(-DWTF_PLATFORM_WIN_CAIRO=1)