[Webkit-unassigned] [Bug 153176] [CMake][GTK][OSX] ThreadIdentifierData::initialize assertion fails because there are two copies of WTF in process (one as part of webkit2, one as part of jsc)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jan 17 09:37:40 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=153176

--- Comment #11 from Michael Catanzaro <mcatanzaro at igalia.com> ---
Taking a quick look over https://cmake.org/cmake/help/v3.4/command/target_link_libraries.html

I think this might be what the PUBLIC, PRIVATE, and INTERFACE specifiers are for. What if, in Source/JavaScriptCore/CMakeLists.txt, instead of this:

target_link_libraries(JavaScriptCore ${JavaScriptCore_LIBRARIES})

You were to replace it with:

target_link_libraries(JavaScriptCore PRIVATE ${JavaScriptCore_LIBRARIES})

Perhaps that would fix this?

Similarly (for Source/WebKit2/CMakeLists.txt):

set(WebKit2_LIBRARIES
    PRIVATE WebCore
    INTERFACE JavaScriptCore
)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160117/5b346c65/attachment-0001.html>


More information about the webkit-unassigned mailing list