[CMake] CMake 2.4.2 Cygwin shouldn't have -ldl

Brandon J. Van Every bvanevery at gmail.com
Thu Jun 1 16:04:42 EDT 2006


Brandon J. Van Every wrote:
> William A. Hoffman wrote:
>>
>> Try this:
>>
>> add a:
>>
>>  message(${EXTRA_LIBS}) 
>>
>> Also, make sure you delete the CMakeCache.txt after the change.
>>   
>
> I'll be darned,  EXTRA_LIBS are dl;ws2_32
> ws2_32 is from my code, but where is dl coming from?

Well crappy tunnel vision.  There is merely a HAVE_DLFCN_H right above 
my other code that sets dl.  Cygwin does have dlfcn.h but that doesn't 
mean it's supposed to do a -ldl.  My bad.  My code is wrong.  Sorry to 
put you through this.


Cheers,
Brandon Van Every


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20060601/4e319946/attachment.html


More information about the CMake mailing list