CodeCache should check that the UnlinkedCodeBlock was successfully created before...
[WebKit-https.git] / Source / JavaScriptCore / PlatformWPE.cmake
1 include(GLib.cmake)
2
3 list(APPEND JavaScriptCore_LIBRARIES
4     ${GLIB_LIBRARIES}
5     ${GLIB_GMODULE_LIBRARIES}
6 )
7
8 list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES
9     ${GLIB_INCLUDE_DIRS}
10 )
11
12 list(APPEND JavaScriptCore_UNIFIED_SOURCE_LIST_FILES
13     "SourcesWPE.txt"
14 )
15
16 list(APPEND JavaScriptCore_PRIVATE_FRAMEWORK_HEADERS
17     inspector/remote/glib/RemoteInspectorServer.h
18     inspector/remote/glib/RemoteInspectorUtils.h
19 )
20
21 install(FILES ${JavaScriptCore_INSTALLED_HEADERS}
22     DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-webkit-${WPE_API_VERSION}/jsc"
23     COMPONENT "Development"
24 )
25
26 add_definitions(-DJSC_COMPILATION)
27 add_definitions(-DPKGLIBDIR="${CMAKE_INSTALL_FULL_LIBDIR}/wpe-webkit-${WPE_API_VERSION}")