use the postfix "_debug" in windows for debug builds

This commit is contained in:
Pedro Lopez-Cabanillas 2010-07-15 17:10:34 +00:00
parent 8cfcef3c90
commit a41a16c602

View file

@ -134,6 +134,7 @@ if ( WIN32 )
set ( WINDOWS_LIBS "dsound;winmm;ws2_32" ) set ( WINDOWS_LIBS "dsound;winmm;ws2_32" )
set ( LIBFLUID_CPPFLAGS "-DFLUIDSYNTH_DLL_EXPORTS" ) set ( LIBFLUID_CPPFLAGS "-DFLUIDSYNTH_DLL_EXPORTS" )
set ( FLUID_CPPFLAGS "-DFLUIDSYNTH_NOT_A_DLL" ) set ( FLUID_CPPFLAGS "-DFLUIDSYNTH_NOT_A_DLL" )
set ( CMAKE_DEBUG_POSTFIX "_debug" )
# MinGW compiler (a Windows GCC port) # MinGW compiler (a Windows GCC port)
if ( MINGW ) if ( MINGW )
set ( MINGW32 1 ) set ( MINGW32 1 )