Externals: Fix OpenAL include directory.

This commit is contained in:
degasus 2020-04-29 13:07:51 +02:00
parent fc0df37d94
commit 9fd1385733
3 changed files with 8 additions and 3 deletions

View File

@ -767,6 +767,10 @@ else()
message(STATUS "libsystemd not found, disabling traversal server watchdog support")
endif()
if (WIN32)
include_directories(Externals/OpenAL/include)
endif()
include_directories(Externals/picojson)
########################################

View File

@ -13,9 +13,9 @@
#include "Core/HW/SystemTimers.h"
#ifdef _WIN32
#include <OpenAL/include/al.h>
#include <OpenAL/include/alc.h>
#include <OpenAL/include/alext.h>
#include <al.h>
#include <alc.h>
#include <alext.h>
// OpenAL requires a minimum of two buffers, three or more recommended
#define OAL_BUFFERS 3

View File

@ -54,6 +54,7 @@
<AdditionalIncludeDirectories>$(ExternalsDir)miniupnpc\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)minizip;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)mbedtls\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)OpenAL\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)picojson;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)pugixml;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(ExternalsDir)SFML\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>