A simple FindMFC module for consistency

This commit is contained in:
Ian Scott 2002-09-03 12:29:03 -04:00
parent 1fc3bb4377
commit 0059db268c
1 changed files with 18 additions and 0 deletions

18
Modules/FindMFC.cmake Normal file
View File

@ -0,0 +1,18 @@
#
# Find the native MFC - i.e. decide if this is an MS VC box.
#
# MFC_FOUND - Do not attempt to use MFC if "no" or undefined.
# 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 )
SET( MFC_FOUND "YES" )
ENDIF( NOT BORLAND )
ENDIF( NOT CYGWIN )
ENDIF( WIN32 )