FindMFC.cmake 498 B

1234567891011121314151617181920
  1. #
  2. # Find the native MFC - i.e. decide if this is an MS VC box.
  3. #
  4. # MFC_FOUND - Do not attempt to use MFC if "no" or undefined.
  5. # 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 )