mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-23 04:09:40 +00:00
20 lines
518 B
CMake
20 lines
518 B
CMake
include(GLib.cmake)
|
|
include(inspector/remote/GLib.cmake)
|
|
|
|
list(APPEND JavaScriptCore_LIBRARIES
|
|
${GLIB_LIBRARIES}
|
|
${GLIB_GMODULE_LIBRARIES}
|
|
)
|
|
|
|
list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES
|
|
${GLIB_INCLUDE_DIRS}
|
|
)
|
|
|
|
install(FILES ${JavaScriptCore_INSTALLED_HEADERS}
|
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/wpe-webkit-${WPE_API_VERSION}/jsc"
|
|
COMPONENT "Development"
|
|
)
|
|
|
|
add_definitions(-DJSC_COMPILATION)
|
|
add_definitions(-DPKGLIBDIR="${CMAKE_INSTALL_FULL_LIBDIR}/wpe-webkit-${WPE_API_VERSION}")
|