[CMake] CMake & MFC

Robert Dailey rcdailey at gmail.com
Thu Oct 20 13:01:24 EDT 2011


I did this and it links just fine... hmmm. Let me grep my source tree for
"mfc4" and see what I get. I really am running out of ideas, I don't know
what else to look for.

---------
Robert Dailey


On Thu, Oct 20, 2011 at 11:46 AM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> On 10/20/2011 12:35 PM, Robert Dailey wrote:
>
>> I just tried with VS2008 and I get the same:
>>     fatal error LNK1104: cannot open file 'mfc40.lib'
>>
>> Also I created a default MFC application using the new project wizard in
>> VS2008 and it compiled & linked just fine, so it seems like maybe this
>> is a CMake issue?
>>
>>
> Can you take the default MFC app that you created, and write CMake files
> for it?  Then see if that works?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111020/f1637134/attachment.htm>


More information about the CMake mailing list