Add install component declaration for jsc

This commit is contained in:
Ariel Abreu 2023-05-01 11:32:02 -04:00
parent 1083e4e3cf
commit b7170ff1a6
No known key found for this signature in database
GPG Key ID: C06B805216EDEEED

View File

@ -2261,6 +2261,7 @@ target_link_options(JavaScriptCore PRIVATE
)
if (COMPONENT_cli_extra)
set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME "cli_extra")
# this isn't included on a default macOS install (which is why it's only built with `COMPONENT_cli_extra`),
# but i think it's a pretty neat party trick; great for showing off JavaScriptCore in action on the command line
add_darling_executable(jsc