[CMake] Use find_package for zlib
[WebKit-https.git] / Source / WebCore / PlatformWinCairo.cmake
1 include(platform/Cairo.cmake)
2 include(platform/Curl.cmake)
3 include(platform/ImageDecoders.cmake)
4 include(platform/TextureMapper.cmake)
5
6 list(APPEND WebCore_INCLUDE_DIRECTORIES
7     "${FORWARDING_HEADERS_DIR}/JavaScriptCore"
8     "${DirectX_INCLUDE_DIRS}"
9     "${WEBKIT_LIBRARIES_DIR}/include"
10     "${WEBCORE_DIR}/loader/archive/cf"
11     "${WEBCORE_DIR}/platform/cf"
12 )
13
14 list(APPEND WebCore_SOURCES
15     page/win/FrameCairoWin.cpp
16
17     platform/graphics/GLContext.cpp
18     platform/graphics/PlatformDisplay.cpp
19
20     platform/graphics/win/FontCustomPlatformDataCairo.cpp
21     platform/graphics/win/FontPlatformDataCairoWin.cpp
22     platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp
23     platform/graphics/win/GraphicsContextCairoWin.cpp
24     platform/graphics/win/ImageCairoWin.cpp
25     platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp
26     platform/graphics/win/SimpleFontDataCairoWin.cpp
27
28     platform/network/NetworkStorageSessionStub.cpp
29
30     platform/text/win/LocaleWin.cpp
31
32     platform/win/DelayLoadedModulesEnumerator.cpp
33     platform/win/DragImageCairoWin.cpp
34     platform/win/ImportedFunctionsEnumerator.cpp
35     platform/win/ImportedModulesEnumerator.cpp
36     platform/win/PEImage.cpp
37 )
38
39 list(APPEND WebCore_LIBRARIES
40     ${DirectX_LIBRARIES}
41     CFLite
42     comctl32
43     crypt32
44     iphlpapi
45     libcurl_imp
46     libjpeg
47     libpng
48     rpcrt4
49     shlwapi
50     usp10
51     version
52     winmm
53     ws2_32
54 )
55
56 list(APPEND WebCoreTestSupport_LIBRARIES
57     ${CAIRO_LIBRARIES}
58     CFLite
59     shlwapi
60 )
61
62 list(APPEND WebCore_FORWARDING_HEADERS_DIRECTORIES
63     platform/graphics/cairo
64
65     platform/network/curl
66 )