]> git.jsancho.org Git - lugaru.git/commitdiff
Fix paths for OpenAL headers
authorNeal Gompa <ngompa13@gmail.com>
Sat, 19 Nov 2016 01:50:08 +0000 (20:50 -0500)
committerNeal Gompa <ngompa13@gmail.com>
Sat, 19 Nov 2016 01:50:08 +0000 (20:50 -0500)
CMakeLists.txt
Source/openal_wrapper.h

index da44492ca90e8f9df23085feedb4d5ed1bcc4ac1..9db6e9c82be4c602be55967f72acf092c65dadda 100644 (file)
@@ -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)
index e88b5f9633a9e8d6d7fcec1b8ebde7f17415523b..49cb14630cc67b8709da2ea5cb8f826eb254e0c4 100644 (file)
@@ -26,8 +26,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 #include <malloc.h>
 #endif
 
-#include "al.h"
-#include "alc.h"
+#include "AL/al.h"
+#include "AL/alc.h"
 
 #include "ogg/ogg.h"
 #include "vorbis/vorbisfile.h"