mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:04:57 +00:00
Meta+Lagom: Enable CMAKE_BUILD_WITH_INSTALL_RPATH
On macOS, CMake incorrectly tries to add and/or remove rpaths from files that it has already processed when it performs installation. Setting the rpaths during the build process ensures that they are only set once, and as a bonus, makes installation slightly more performant. Fixes #10055.
This commit is contained in:
parent
2e3bff7ab1
commit
71b184accf
12 changed files with 28 additions and 27 deletions
|
@ -10,12 +10,12 @@ if [ -z "${GML_FORMAT:-}" ] ; then
|
|||
echo "Directory Build/lagom/ does not exist. Skipping GML formatting."
|
||||
exit 0
|
||||
fi
|
||||
if ! [ -r Build/lagom/gml-format ] ; then
|
||||
if ! [ -r Build/lagom/bin/gml-format ] ; then
|
||||
echo "Lagom executable gml-format was not built. Skipping GML formatting."
|
||||
echo "To enable this check, you may need to run './Meta/serenity.sh build lagom' first."
|
||||
exit 0
|
||||
fi
|
||||
GML_FORMAT="Build/lagom/gml-format"
|
||||
GML_FORMAT="Build/lagom/bin/gml-format"
|
||||
fi
|
||||
|
||||
if [ "$#" -gt "0" ] ; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue