Initial commit.
[CMakeLuaTailorHgBridge.git] / CMakeLua / Modules / FindMFC.cmake
blob7e3bcc118c8404680b6ef15ec80349b1e9c60fbc
1 # - Find MFC on Windows
2 # Find the native MFC - i.e. decide if this is an MS VC box.
3 #  MFC_FOUND - Was MFC support found
4 # You don't need to include anything or link anything to use it.
6 # Assume no MFC support
7 SET( MFC_FOUND "NO" )
8 # Add MFC support if win32 and not cygwin and not borland
9 IF( WIN32 )
10   IF( NOT CYGWIN )
11     IF( NOT BORLAND )
12       IF( NOT MINGW )
13         SET( MFC_FOUND "YES" )
14       ENDIF( NOT MINGW )
15     ENDIF( NOT BORLAND )
16   ENDIF( NOT CYGWIN )
17 ENDIF( WIN32 )