I need to get the Parent Directory for a library so I can add that
directory to the LINK_DIRECTORIES().
I have this so far:
FIND_LIBRARY(MXADataModel_LIBRARY MXADataModel
/usr/local/lib
/usr/lib
${MXA_DIR}/lib
CACHE
)
Which will put the path to libMXADataModel.dylib into the
GET_FILENAME_COMPONENT(dir ${MXADataModel_LIBRARY} PATH)
will put the PATH into the variable 'dir'
HTH,
David
On 6/28/07, Mike Jackson [EMAIL PROTECTED] wrote:
I need to get the Parent Directory for a library so I can add that
directory to the LINK_DIRECTORIES().
I have this so far: