Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Conversation

@LouisGameDev
Copy link

Similar to Linux, the rpath is now set to @loader_path, the mac version of $ORIGIN on Linux.

Now also moves *.dylibs (macs' version of dll) from lib to install.

Similar to Linux, the rpath is now set to @loader_path, the mac version of $ORIGIN on Linux.

Now also moves *.dylibs (macs' version of dll) from lib to install.
@jmtatsch
Copy link

worked well for me, thank you!

@damageboy
Copy link

Worked for me as well!

@cryptomilk
Copy link

cryptomilk commented Mar 12, 2024

From a cmake point of view this is wrong. You should not manipulate the CFLAGS. On Linux you need to use:

set_target_properties(piper PROPERTIES BUILD_RPATH_USE_ORIGIN TRUE)

and and MacOSX:

set_target_properties(piper PROPERTIES MACOSX_RPATH TRUE)

according to: https://cmake.org/cmake/help/latest/prop_tgt/MACOSX_RPATH.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants