CMake Error at Source/cmake/WebKitMacros.cmake:297 (add_library): The install of the JavaScriptCore target requires changing an RPATH from the build tree, but this is not supported with the Ninja generator unless on an ELF-based platform. The CMAKE_BUILD_WITH_INSTALL_RPATH variable may be set to avoid this relinking step. Call Stack (most recent call first): Source/JavaScriptCore/CMakeLists.txt:1474 (WEBKIT_FRAMEWORK)
This is on an amd64 machine btw.
I guess it still work if you use Make instead of Ninja (by passing -G "Unix Makefiles" to CMake) This seems to be the CMake commit causing this: https://gitlab.kitware.com/cmake/cmake/commit/72dfca30b94ba1e85533c61a7b5a330dfbc04da5
Asked CMake developers about this at https://gitlab.kitware.com/cmake/cmake/issues/13934
Created attachment 295309 [details] Patch
Thanks Carlos!
Comment on attachment 295309 [details] Patch Clearing flags on attachment: 295309 Committed r208951: <http://trac.webkit.org/changeset/208951>
All reviewed patches have been landed. Closing bug.
This change introduced bug#252548. And, CMake 3.8 fixed the problem. https://gitlab.kitware.com/cmake/cmake/-/issues/13934#note_200624 https://gitlab.kitware.com/cmake/cmake/-/commit/25b6e7b710d7739cca44ed19bf45a190e72a6b82 I'm going to revert this change in bug#252548.