darling-JavaScriptCore/PlatformJSCOnly.cmake
2018-01-02 21:17:19 -08:00

17 lines
348 B
CMake

add_definitions(-DSTATICALLY_LINKED_WITH_WTF)
if (USE_GLIB)
list(APPEND JavaScriptCore_SYSTEM_INCLUDE_DIRECTORIES
${GLIB_INCLUDE_DIRS}
)
list(APPEND JavaScriptCore_LIBRARIES
${GLIB_LIBRARIES}
)
endif ()
if (APPLE)
list(APPEND JavaScriptCore_INCLUDE_DIRECTORIES
${JAVASCRIPTCORE_DIR}/icu
)
endif ()