Hi Brad, > This is why I was asking all those questions. I bet the library > has not been built with a proper SONAME field.
You are completely right, the library I was using to import has no SONAME field. I know exactly what I am doing wrong. I did build a proper library with the SONAME set with CMake and it generated by means of install(EXPORT) the proper property IMPORTED_SONAME_NOCONFIG "libGaudiKernel.so". Unfortunately, because of my stupidity the actual library I was importing when building the second project was still build with our old build system, which does not set the SONAME. Therefore I understand now why CMake was confused and it was using the full path instead of -l. I have trivially fixed the problem by using the proper libraries from CMake. Thanks very much for your patience. Cheers, Pere _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
