<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Use find_library within Windows build"
href="https://bugs.webkit.org/show_bug.cgi?id=160904#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Use find_library within Windows build"
href="https://bugs.webkit.org/show_bug.cgi?id=160904">bug 160904</a>
from <span class="vcard"><a class="email" href="mailto:don.olmstead@am.sony.com" title="Don Olmstead <don.olmstead@am.sony.com>"> <span class="fn">Don Olmstead</span></a>
</span></b>
<pre>On Windows WebKitLibraries/win is the root for third party libraries in the project. In CMake the WEBKIT_LIBRARIES_DIR is set for this. So within FindICU.cmake you can do the following which allows Windows to find it.
find_path(
ICU_INCLUDE_DIR
NAMES unicode/utypes.h
HINTS ${PC_ICU_INCLUDE_DIRS}
${PC_ICU_INCLUDEDIR}
${WEBKIT_LIBRARIES_DIR}/include
DOC "Include directory for the ICU library")
mark_as_advanced(ICU_INCLUDE_DIR)
One thing I'm wondering however is should the be a WEBKIT_LIBRARIES_ROOT and then some variables around that be added. So WEBKIT_LIBRARIES_INCLUDE_DIR/WEBKIT_LIBRARIES_LINKER_DIR which would then be used within the HINTS section.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>