[cmake-developers] Building with Qt for the Raspberry Pi with CMake

Brad King brad.king at kitware.com
Thu Apr 11 10:00:10 EDT 2013


On 04/10/2013 07:41 PM, Stephen Kelly wrote:
> I also need to 
> 
>  set(CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES ".so.1")
> 
> to tell CMake that libz.so.1 is a shared library, otherwise it gets ignored.
> 
> So, for feedback, it seems like it might make sense to automatically treat 
> ".so.<number>" as shared libraries for systems which split the libs and 
> symlinks like this. 

Yes.  One could teach cmComputeLinkInformation::ComputeItemParserInfo
to allow a numerical suffix in the ExtractSharedLibraryName regex.

-Brad



More information about the cmake-developers mailing list