[CMake] Finding MinGW compiler libraries?

Bob Paddock bob.paddock at gmail.com
Sat Jul 26 12:28:56 EDT 2008


What is the correct way to find MinGW compiler libraries,
when not using MSYS?

My project needs to link against C:\MinGW\lib\libuuid.a, amoung
others, but it is not being found.

I tried this:

find_library( MinGW_Libraries uuid )

but that did not find it.

The only way I could find to link my project was to put -luuid
in to link.txt, which I'm sure is not the correct way to use CMake.


More information about the CMake mailing list