Check correctly "mmsystem.h" in Windows

This commit is contained in:
Pedro Lopez-Cabanillas 2010-04-10 10:45:44 +00:00
parent 6624f6f2b7
commit 23778b05d6
1 changed files with 2 additions and 1 deletions

View File

@ -122,10 +122,11 @@ set ( WINDOWS_SUPPORT )
set ( WINDOWS_LIBS ) set ( WINDOWS_LIBS )
set ( MINGW32 ) set ( MINGW32 )
if ( WIN32 ) if ( WIN32 )
include ( CheckIncludeFiles )
check_include_file ( windows.h HAVE_WINDOWS_H ) check_include_file ( windows.h HAVE_WINDOWS_H )
check_include_file ( io.h HAVE_IO_H ) check_include_file ( io.h HAVE_IO_H )
check_include_file ( dsound.h HAVE_DSOUND_H ) check_include_file ( dsound.h HAVE_DSOUND_H )
check_include_file ( mmsystem.h HAVE_MMSYSTEM_H ) check_include_files ( "windows.h;mmsystem.h" HAVE_MMSYSTEM_H )
set ( WINDOWS_SUPPORT ${HAVE_WINDOWS_H} ) set ( WINDOWS_SUPPORT ${HAVE_WINDOWS_H} )
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" )