From 5310d6ffd89fd8b981b273b332a232b70b4ce7ad Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Fri, 18 Nov 2016 20:50:08 -0500 Subject: [PATCH] Fix paths for OpenAL headers --- CMakeLists.txt | 2 +- Source/openal_wrapper.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da44492..9db6e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ if (NOT OPENAL_FOUND OR LUGARU_FORCE_INTERNAL_OPENAL) message(STATUS "Using internal copy of OpenAL") set(LUGARU_MISSING_DEPS "${LUGARU_MISSING_DEPS} OpenAL") set(OPENALDIR "${DEPDIR}/OpenAL") - set(OPENAL_INCLUDE_DIR "${OPENALDIR}/include/AL") + set(OPENAL_INCLUDE_DIR "${OPENALDIR}/include") set(OPENAL_LIBRARY "") if (WIN32) diff --git a/Source/openal_wrapper.h b/Source/openal_wrapper.h index e88b5f9..49cb146 100644 --- a/Source/openal_wrapper.h +++ b/Source/openal_wrapper.h @@ -26,8 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #endif -#include "al.h" -#include "alc.h" +#include "AL/al.h" +#include "AL/alc.h" #include "ogg/ogg.h" #include "vorbis/vorbisfile.h" -- 2.39.5