From: Neal Gompa Date: Sat, 19 Nov 2016 01:50:08 +0000 (-0500) Subject: Fix paths for OpenAL headers X-Git-Url: https://git.jsancho.org/?a=commitdiff_plain;h=5310d6ffd89fd8b981b273b332a232b70b4ce7ad;p=lugaru.git Fix paths for OpenAL headers --- 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"