Hi Mojca,

----- On 30 Sep, 2016, at 03:30, Mojca Miklavec mo...@macports.org wrote:

> Does anyone with a deeper understanding of CMake build system have any
> idea what to fix?

CMake should get this right automatically. You've already been pointed to
 https://cmake.org/Wiki/CMake_RPATH_handling

Try changing
 - CMAKE_BUILD_WITH_INSTALL_RPATH (it should be false),
 - CMAKE_SKIP_BUILD_RPATH (should be false) and
 - CMAKE_INSTALL_RPATH_USE_LINK_PATH (try both?)


HTH,
-- 
Clemens Lang
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to