Hello,
Is there a CMake rule to tell an executable where to look for its dynamic
libraries when running? So that the dependencies are correctly loaded at
runtime.
Regards,
Lucas SOLTIC
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
Hi Lucas.
There's no portable way to do that, simply because not all systems support
something like this (e.g. Windows doesn't ). For Linux, you can look into
the various options of handling RPATH (such as BUILD_WITH_INSTALL_RPATH,
SKIP_BUILD_RPATH, INSTALL_RPATH etc.).
Petr
On Thu, Jan 23,