Externals: Alter the soundtouch include directory.

We must not provide the /Externals directory as global include directory.
Here, this yield a crash because of external minizip header and system library mismatch.

Soundtouch itself recormends to include it with <SoundTouch.h> and -I/usr/include/soundtouch, so this should fit better.
This commit is contained in:
degasus 2020-04-29 11:30:26 +02:00
parent ffc40c1a00
commit 239cde8aea
2 changed files with 2 additions and 2 deletions

View File

@ -654,7 +654,7 @@ endif()
# Using static soundtouch from Externals
# Unable to use system soundtouch library: We require shorts, not floats.
add_subdirectory(Externals/soundtouch)
include_directories(Externals)
include_directories(Externals/soundtouch)
find_package(Cubeb)
if(CUBEB_FOUND)

View File

@ -6,7 +6,7 @@
#include <array>
#include <soundtouch/SoundTouch.h>
#include <SoundTouch.h>
namespace AudioCommon
{