CMake: don't try to link with librt on MinGW
On MinGW, librt will might will found as rt library in MSYS, but fails linking with "cannot find -lrt" error. As librt is not avaiable on native Windows, we should never try to link with -lrt on MinGW (which is native Windows).
Showing
Please
register
or
sign in
to comment