> On 4 Sep 2017, at 18:37, Robert Maynard <[email protected]> wrote: > > Yes you are correct the issue is related to rpath. When CMake constructs the > rpath for the library linking it will have two paths ( > /home/jenkins/workspace/FlightGear/dist/lib64, > /home/jenkins/workspace/SimGear/dist/lib64) each that contain a copy of > libosgText.so.130. CMake is warning that which version of libosgText is > undefined.
Can I control whether CMake includes the rpath flags for a static library like SimGear? Normally the default behaviour is correct but for this particular config it would be easier to disable the rpath for OSG inside SimGear, than adjust the build setup to use a common dist dir, I think. Kind regards, James
-- 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
