12018-04-01 Fujii Hironori <Hironori.Fujii@sony.com>
2
3 [CMake] WebKit should link to WebCore as a PRIVATE library if WebCore is a static library
4 https://bugs.webkit.org/show_bug.cgi?id=184127
5
6 Reviewed by NOBODY (OOPS!).
7
8 Building TestWebKitLib on Windows causes a linkage error of
9 multiply defined symbols because TestWebKitLib links to
10 both WebCore and WebKit. TestWebKitLib explicitly links only with
11 WebKit, But, WebCore is propagated because WebKit links WebCore as
12 public.
13
14 * Source/cmake/WebKitMacros.cmake (WEBKIT_FRAMEWORK):
15 Link ${_target}_LIBRARIES as public libraries.
16 Added a new variable ${_target}_PRIVATE_LIBRARIES, and link them as private libraries.
17