cmake: Prevent HAVE_OPENAL and HAVE_PORTAUDIO to be redefined

This commit is contained in:
Florent Castelli 2017-01-24 02:21:01 +01:00
parent cac53603c5
commit c649bf104b
1 changed files with 4 additions and 0 deletions

View File

@ -39,9 +39,13 @@ extern const std::string scm_distributor_str;
// Since they are always around on Windows // Since they are always around on Windows
#define HAVE_WX 1 #define HAVE_WX 1
#ifndef HAVE_OPENAL
#define HAVE_OPENAL 1 #define HAVE_OPENAL 1
#endif
#ifndef HAVE_PORTAUDIO
#define HAVE_PORTAUDIO 1 #define HAVE_PORTAUDIO 1
#endif
// Debug definitions // Debug definitions
#if defined(_DEBUG) #if defined(_DEBUG)