summaryrefslogtreecommitdiff
path: root/Modules/FindMFC.cmake
blob: 7e3bcc118c8404680b6ef15ec80349b1e9c60fbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# - Find MFC on Windows
# Find the native MFC - i.e. decide if this is an MS VC box.
#  MFC_FOUND - Was MFC support found
# You don't need to include anything or link anything to use it.

# Assume no MFC support
SET( MFC_FOUND "NO" )
# Add MFC support if win32 and not cygwin and not borland
IF( WIN32 )
  IF( NOT CYGWIN )
    IF( NOT BORLAND )
      IF( NOT MINGW )
        SET( MFC_FOUND "YES" )
      ENDIF( NOT MINGW )
    ENDIF( NOT BORLAND )
  ENDIF( NOT CYGWIN )
ENDIF( WIN32 )