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

Guilherme guibufolo at gmail.com
Fri Sep 19 04:55:45 EDT 2014


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.

Is there any setting when invoking cmake to change the prefix from cyg
to lib? How do i go about fixing this?

Thank you
Red


More information about the CMake mailing list