Re: [CMake] Setting RPATH lookup on macOS

2019-09-12 Thread Juan Sanchez
cutable/library. (at least on > macOS & Linux systems). > > > > -- > > Mike Jackson > > > > > > From: Juan Sanchez > Date: Thursday, September 12, 2019 at 11:35 AM > To: Michael Jackson > Cc: CMake > Subject: Re: [CMake] Setting RPATH loo

Re: [CMake] Setting RPATH lookup on macOS

2019-09-12 Thread Michael Jackson
. (at least on macOS & Linux systems). -- Mike Jackson From: Juan Sanchez Date: Thursday, September 12, 2019 at 11:35 AM To: Michael Jackson Cc: CMake Subject: Re: [CMake] Setting RPATH lookup on macOS The macOS install_name_tool can be used to change the RPATH of your binaries. It

Re: [CMake] Setting RPATH lookup on macOS

2019-09-12 Thread Juan Sanchez
The macOS install_name_tool can be used to change the RPATH of your binaries. It can also be used to set the path for each of the libraries to be loaded. For a python module I compile, I copy each of its dylib into the appropriate directory relative to my shared library. I then use the

Re: [CMake] Setting RPATH lookup on macOS

2019-09-11 Thread Michael Jackson
On 9/11/19, 5:42 PM, "Kyle Edwards" wrote: On Wed, 2019-09-11 at 17:33 -0400, Michael Jackson wrote: > Already looked on google and at the CMake documentation but > everything listed does not seem to work so here is the setup. > > I am using MKL and I have a home grown

Re: [CMake] Setting RPATH lookup on macOS

2019-09-11 Thread Kyle Edwards via CMake
On Wed, 2019-09-11 at 17:33 -0400, Michael Jackson wrote: > Already looked on google and at the CMake documentation but > everything listed does not seem to work so here is the setup. > > I am using MKL and I have a home grown FindMKL since there isn’t an > official one. Inside that is the

[CMake] Setting RPATH lookup on macOS

2019-09-11 Thread Michael Jackson
Already looked on google and at the CMake documentation but everything listed does not seem to work so here is the setup. I am using MKL and I have a home grown FindMKL since there isn’t an official one. Inside that is the typical find_library() calls which will find the libraries just fine.