diff options
author | Ian Scott <ian.m.scott@stud.man.ac.uk> | 2002-09-03 16:29:03 (GMT) |
---|---|---|
committer | Ian Scott <ian.m.scott@stud.man.ac.uk> | 2002-09-03 16:29:03 (GMT) |
commit | 0059db268c93e9aa119f36d8e977bbd4a56ba7b2 (patch) | |
tree | 42dd88f951ee00bedd6721c1c14ccf3a7bfcddb6 /Modules | |
parent | 1fc3bb437757d7107352304d7da13a719795b005 (diff) | |
download | CMake-0059db268c93e9aa119f36d8e977bbd4a56ba7b2.zip CMake-0059db268c93e9aa119f36d8e977bbd4a56ba7b2.tar.gz CMake-0059db268c93e9aa119f36d8e977bbd4a56ba7b2.tar.bz2 |
A simple FindMFC module for consistency
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindMFC.cmake | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Modules/FindMFC.cmake b/Modules/FindMFC.cmake new file mode 100644 index 0000000..e453ef0 --- /dev/null +++ b/Modules/FindMFC.cmake @@ -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 ) + + |