From 0059db268c93e9aa119f36d8e977bbd4a56ba7b2 Mon Sep 17 00:00:00 2001 From: Ian Scott Date: Tue, 3 Sep 2002 12:29:03 -0400 Subject: A simple FindMFC module for consistency --- Modules/FindMFC.cmake | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Modules/FindMFC.cmake 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 ) + + -- cgit v0.12