To set the install name to an absolute path, it would probably be something
like
set_property(TARGET EMsoft PROPERTY INSTALL_NAME_DIR
${CMAKE_INSTALL_PREFIX}/lib)
Clint
----- On Apr 26, 2016, at 12:24 PM, Michael Jackson
<[email protected]> wrote:
> I am building a library and installing onto the local system. After
> installation
> otool reports that the path is "@rpath/lib/libEMsoft.dylib"
> How can I have the installed path be the full absolute path to the library.
> For
> this use case @rpath is not going to work.
> I have tried https://cmake.org/Wiki/CMake_RPATH_handling and variations of
> that
> information but none of it seems to work.
> THanks
> --
> Mike Jackson [ [email protected] ]
> --
> Powered by www.kitware.com
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake