[CMake] CMake & MFC

Robert Dailey rcdailey at gmail.com
Tue Oct 18 16:10:57 EDT 2011


I've enabled MFC by setting CMAKE_MFC_FLAG to 2. I'm using CMake 2.8.6 and
I'm generating for Visual Studio 7.1.

When I'm linking, I get the following error:

    uploadlog fatal error LNK1104: cannot open file 'mfc40.lib'

On my system I only have mfc71.lib. Why is it trying to load version 4.0?

---------
Robert Dailey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111018/4962f651/attachment.htm>


More information about the CMake mailing list