I would like to make a PR that allows webkit's cmake build files to be added in another project using `add_subdirectory(WebKit). This would make it easier to embed the entire webkit project as well as JSC individually. See https://github.com/BunOSLabs/WebKit/commit/9b1c39fdee8a904460e73dbb5471c86caaef78f4 for the current changes I have come up with. So far I have changed CMAKE_{SOURCE,BINARY}_DIR to CMAKE_CURRENT_{SOURCE,BINARY}_DIR. Not sure if there's anything else that would be needed yet.
Maybe adding a install target for JSC would be good as well.
<rdar://problem/126106710>
I'm not opposed to a PR that does this. That said, since Apple ports don't use CMake it should probably be someone from a CMake port that reviews your change.