[CMake] linking with .so w/ non-standard names

Bill Hoffman bill.hoffman at kitware.com
Mon Aug 17 11:57:03 EDT 2009


Kenneth Chang wrote:
> Hi Bill,
> 
> I tried the same experiment with a boost .so and it worked.  What's 
> interesting is that I can link with thostmduserapi.so if I do it 
> manually or just renamed it, and the application works, so it looks like 
> the file is a valid object.  gcc/c++ doesn't complain about a bad object 
> either.  How does cmake determine that a file is an object it can use on 
> the link line?  This is a third party .so, so I'm not quite sure what 
> they did to build it, but it's likely they did something strange.
> 

Might be a bug in CMake, cab you email me the object off the list?  It 
is for a linux 64 system right?

-Bill


More information about the CMake mailing list