mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-26 21:50:53 +00:00
17 lines
348 B
CMake
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 ()
|