Hi all,
I tried to 'FIND_PACKAGE(MFC)' on VS2013(community), but MFC not found.
VS2013 has no mfc120.dll but has mfc120u.dll,
so I make a patch for FindMFC.cmake,
like
-DCOMPILE_DEFINITIONS:STRING=-D_AFXDLL
+ -DCOMPILE_DEFINITIONS:STRING=-D_UNICODE
OUTPUT_VARIABLE OUTPUT)
and find successfully.
This is not tested at other versions, but probably does correctly.
thanks.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers