Changed how FT2 is linked on MSVC (with a #define on config.h)

Originally committed to SVN as r1676.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-11 00:18:15 +00:00
parent 96bf1659a9
commit 1ab15ad85f
2 changed files with 8 additions and 3 deletions

View File

@ -173,9 +173,11 @@
// FreeType2
#ifdef WITH_FREETYPE2
#ifdef __WXDEBUG__
#pragma comment(lib,"freetype233MT_D.lib")
//#pragma comment(lib,"freetype233MT_D.lib")
#pragma comment(lib,FT2_LIB_DEBUG)
#else
#pragma comment(lib,"freetype233MT.lib")
//#pragma comment(lib,"freetype233MT.lib")
#pragma comment(lib,FT2_LIB_RELEASE)
#endif
#endif

View File

@ -61,12 +61,15 @@
///////////// MEDIUM PRIORITY ////////////
// Enable FreeType2 font lister for the fonts collector
// If you're on Visual Studio, also uncomment the library names and make sure they match the files that you have
// Requires: FreeType2
//#define WITH_FREETYPE2
//#define FT2_LIB_RELEASE "freetype235.lib"
//#define FT2_LIB_DEBUG "freetype235_D.lib"
// Enable CSRI, required for styles previews in the style editor and some video providers
// Requires: csri
// Requires: csri (in repository)
//#define WITH_CSRI