Changed: Check for MFC (to disable tools using MFC if not found)

This commit is contained in:
kervala 2010-09-02 11:23:32 +02:00
parent 811b229f52
commit 8c7aec84c3
2 changed files with 5 additions and 0 deletions

View file

@ -150,6 +150,10 @@ IF(WITH_SOUND)
ENDIF(WITH_DRIVER_FMOD) ENDIF(WITH_DRIVER_FMOD)
ENDIF(WITH_SOUND) ENDIF(WITH_SOUND)
IF(WITH_MFC)
FIND_PACKAGE(MFC)
ENDIF(WITH_MFC)
IF(WITH_GTK) IF(WITH_GTK)
FIND_PACKAGE(GTK2) FIND_PACKAGE(GTK2)
ENDIF(WITH_GTK) ENDIF(WITH_GTK)

View file

@ -196,6 +196,7 @@ MACRO(NL_SETUP_DEFAULT_OPTIONS)
OPTION(WITH_MAXPLUGIN "Build NeL 3dsMax Plugin" OFF) OPTION(WITH_MAXPLUGIN "Build NeL 3dsMax Plugin" OFF)
OPTION(WITH_SAMPLES "Build NeL Samples" ON ) OPTION(WITH_SAMPLES "Build NeL Samples" ON )
OPTION(WITH_TESTS "Build NeL Unit Tests" ON ) OPTION(WITH_TESTS "Build NeL Unit Tests" ON )
OPTION(WITH_MFC "With MFC Support" ON )
OPTION(WITH_GTK "With GTK Support" OFF) OPTION(WITH_GTK "With GTK Support" OFF)
OPTION(WITH_QT "With QT Support" OFF) OPTION(WITH_QT "With QT Support" OFF)
OPTION(WITH_STLPORT "With STLport support." OFF) OPTION(WITH_STLPORT "With STLport support." OFF)