[CMake] Finding MinGW compiler libraries?

Werner Smekal smekal at iap.tuwien.ac.at
Sun Jul 27 07:58:06 EDT 2008


Hi Hendrik,

> And what is the reason to find .dll files on Windows when searching for a 
> library file, most likely to link to?

Well, the MinGW compiler doesn't need a foo.a file to link against a
foo.dll file - if foo.dll was created with MinGW itself. Therefore it
makes sense. If the foo.dll was compiled with a different compiler (e.g.
system libraries) this will most likely not work. But how should CMake
know?

Werner



More information about the CMake mailing list