build: disable FAudio for 32 bit Windows builds
Disable FAudio for 32 bit Windows builds because it uses libraries that Windows XP does not have. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
2d7a1ea25b
commit
55c1477d69
|
@ -80,8 +80,8 @@ project(VBA-M C CXX)
|
||||||
include(CTest)
|
include(CTest)
|
||||||
include(FetchContent)
|
include(FetchContent)
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
include(Options)
|
|
||||||
include(Architecture)
|
include(Architecture)
|
||||||
|
include(Options)
|
||||||
include(Toolchain)
|
include(Toolchain)
|
||||||
include(Dependencies)
|
include(Dependencies)
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ set(ENABLE_FAUDIO_DEFAULT OFF)
|
||||||
|
|
||||||
find_package(FAudio QUIET)
|
find_package(FAudio QUIET)
|
||||||
|
|
||||||
if(FAudio_FOUND)
|
if(FAudio_FOUND AND NOT (MINGW AND X86))
|
||||||
set(ENABLE_FAUDIO_DEFAULT ON)
|
set(ENABLE_FAUDIO_DEFAULT ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
#ifndef WX_AUDIO_INTERNAL_XAUDIO2_H_
|
#ifndef WX_AUDIO_INTERNAL_XAUDIO2_H_
|
||||||
#define WX_AUDIO_INTERNAL_XAUDIO2_H_
|
#define WX_AUDIO_INTERNAL_XAUDIO2_H_
|
||||||
|
|
||||||
#if !defined(VBAM_ENABLE_FAUDIO)
|
|
||||||
#error "This file should only be included if FAudio is enabled"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "wx/audio/audio.h"
|
#include "wx/audio/audio.h"
|
||||||
|
|
||||||
namespace audio {
|
namespace audio {
|
||||||
|
|
Loading…
Reference in New Issue