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 variable, How do I get its parent?


--
Mike Jackson
imikejackson & gmail * com



_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to