[CMake] Finding MinGW compiler libraries?

Hendrik Sattler post at hendrik-sattler.de
Sun Jul 27 07:22:25 EDT 2008


Am Sonntag, 27. Juli 2008 02:27:40 schrieb Alan W. Irwin:
> On 2008-07-26 16:06-0400 Bob Paddock wrote:
> > find_library( MinGW_libuuid uuid ole32 shell32 "C:/MinGW/lib" )
> > find_library( MinGW_libole32 ole32 "C:/MinGW/lib" )
> > find_library( MinGW_libshell32 shell32 "C:/MinGW/lib" )
> >
> > # Is there a better way to do the above?  What happens when you have
> > dozens of # libraries?'
>
> Look up the find_library command in the documentation.  Especially the part
> that starts "The reason the paths listed in the call to the command are
> searched last...."

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

HS


More information about the CMake mailing list