[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] gr-rds
From: |
Martin Braun |
Subject: |
Re: [Discuss-gnuradio] gr-rds |
Date: |
Wed, 15 Jan 2014 11:06:06 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Wed, Jan 15, 2014 at 06:44:51AM +0100, Bastian Bloessl wrote:
> On 2014-01-14 14:21, Michael Dickens wrote:
> >Not RPATH; that's messed up and I don't recommend using it any more than
> >necessary. I'm taking about the absolute path. See my prior email on this
> >subject. Here's what you do in CMake to fix this:
> >{{{
> > IF(APPLE)
> > SET_TARGET_PROPERTIES([LIBRARY] PROPERTIES
> > INSTALL_NAME_DIR "${CMAKE_INSTALL_PREFIX}/${LIBRARY_DIR}"
> > )
> > ENDIF(APPLE)
> >}}}
> >where [LIBRARY] is the CMake name for the library as defined by the first
> >argument to ADD_LIBRARY, and LIBRARY_DIR is traditionally used to define
> >where libraries are installed. You might use different names than this, but
> >I think you can figure this out. If you add this to both the .so and .dylib
> >CMakeLists.txt files, it should fix this issue since CMake will then handle
> >setting both the self-id and then any linkage correctly both for "make test"
> >as well as after "install".
> >
> >Let me know if you want more direct help. - MLD
>
> I never heard about install_name_dir, but I just pushed a fix and
> hopefully I got it right now :-)
> Thanks for your help!
>
> Btw if this is the way to link under OSX it might be a good idea to
> add this to the template of gr_modtool.
Good point, it seems like a harmless patch. Michael, what do you think?
MB
- [Discuss-gnuradio] gr-rds, Bastian Bloessl, 2014/01/08
- Re: [Discuss-gnuradio] gr-rds, Nowlan, Sean, 2014/01/08
- Re: [Discuss-gnuradio] gr-rds, Ulf Söderberg, 2014/01/11
- Re: [Discuss-gnuradio] gr-rds, Bastian Bloessl, 2014/01/12
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/13
- Re: [Discuss-gnuradio] gr-rds, Bastian Bloessl, 2014/01/14
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/14
- Re: [Discuss-gnuradio] gr-rds, Bastian Bloessl, 2014/01/15
- Re: [Discuss-gnuradio] gr-rds,
Martin Braun <=
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/15
- Message not available
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/15
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/15
- Message not available
- Re: [Discuss-gnuradio] gr-rds, kai g, 2014/01/17
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/17
- Message not available
- Re: [Discuss-gnuradio] gr-rds, Michael Dickens, 2014/01/14
- Re: [Discuss-gnuradio] gr-rds, Ulf Söderberg, 2014/01/14