[CMake] Problem compiling clang on cygwin, library prefix mismatch

Nils Gladitz nilsgladitz at gmail.com
Fri Sep 19 05:07:44 EDT 2014


On 09/19/2014 10:55 AM, Guilherme wrote:
> Hello,
>
> When generating the cmake file all goes well but during compilation it fails.
>
> One of the messages is:
> Linking CXX shared library ../../bin/cygLLVMSupport.dll
>
> Where you can see that it has added the cyg prefix to the generated lib.
>
> But all the other targets search for libLLVMSupport.dll, which does not exist.

The targets are looking how/when?

As a link time dependency shouldn't they be looking for the import 
library rather than the DLL?

Nils



More information about the CMake mailing list