Added new port JSCOnly.
[WebKit-https.git] / Source / JavaScriptCore / PlatformJSCOnly.cmake
1 add_definitions(-DSTATICALLY_LINKED_WITH_WTF)
2
3 list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES
4     "${WTF_DIR}"
5 )
6
7 if (USE_GLIB)
8     list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES
9         ${GLIB_INCLUDE_DIRS}
10     )
11     list(APPEND JavaScriptCore_LIBRARIES
12         ${GLIB_LIBRARIES}
13     )
14 endif ()