Re: [CMake] Getting an RPath set in a Library

2007-06-30 Thread Clark J. Wang
On 7/1/07, Mike Jackson <[EMAIL PROTECTED]> wrote: On Jun 30, 2007, at 3:12 PM, Alan W. Irwin wrote: > On 2007-06-30 11:50-0400 Mike Jackson wrote: > >> So I tried various incantations of SET_TARGET_PROPERTIES and all >> had no effect: >> >> IF ( APPLE ) >> SET_TARGET_PROPERTIES (${MXADATAMO

Re: [CMake] Getting an RPath set in a Library

2007-06-30 Thread Mike Jackson
On Jun 30, 2007, at 3:12 PM, Alan W. Irwin wrote: On 2007-06-30 11:50-0400 Mike Jackson wrote: So I tried various incantations of SET_TARGET_PROPERTIES and all had no effect: IF ( APPLE ) SET_TARGET_PROPERTIES (${MXADATAMODEL_LIB_NAME} PROPERTIES INSTALL_NAME_DIR ${CMAKE_INSTA

Re: [CMake] Getting an RPath set in a Library

2007-06-30 Thread Alan W. Irwin
On 2007-06-30 11:50-0400 Mike Jackson wrote: So I tried various incantations of SET_TARGET_PROPERTIES and all had no effect: IF ( APPLE ) SET_TARGET_PROPERTIES (${MXADATAMODEL_LIB_NAME} PROPERTIES INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib ) ENDIF ( APPLE ) So I am obviously

Re: [CMake] Getting an RPath set in a Library

2007-06-30 Thread Mike Jackson
So I tried various incantations of SET_TARGET_PROPERTIES and all had no effect: IF ( APPLE ) SET_TARGET_PROPERTIES (${MXADATAMODEL_LIB_NAME} PROPERTIES INSTALL_NAME_DIR ${CMAKE_INSTALL_PREFIX}/lib ) ENDIF ( APPLE ) So I am obviously not seeing the forest for the trees.. --

Re: [CMake] Getting an RPath set in a Library

2007-06-28 Thread Alan W. Irwin
On 2007-06-28 16:33-0400 Mike Jackson wrote: I have a project where I am building a shared library. How do I get cmake to add an rpath to the built library? I would like the rpath to reflect my "installed" location? I am on OS X 10.4.10 Intel. From the documentation of SET_TARGET_PROPERTIES

[CMake] Getting an RPath set in a Library

2007-06-28 Thread Mike Jackson
I have a project where I am building a shared library. How do I get cmake to add an rpath to the built library? I would like the rpath to reflect my "installed" location? I am on OS X 10.4.10 Intel. Thanks -- Mike Jackson imikejackson & gmail * com _