Blender Git Commit Log

Git Commits -> Revision b2c7077

Revision b2c7077 by Sergey Sharybin (master)
August 29, 2018, 13:08 (GMT)
CMake: Comply with include path reported by FindOpenGL.cmake

The script clearly states:

This makes the presumption that you are include al.h like
#include "al.h"
and not
#include <AL/al.h>
The reason for this is that the latter is not entirely portable.
Windows/Creative Labs does not by default put their headers in AL/ and
OS X uses the convention <OpenAL/al.h>.

This commit makes default precompiled OpenAL to be properly detected
and also removes hack on MacOS which was finding the OpenAL package but
then was overwriting include directory.

Note, that new audaspace in 2.8 is using expected #include <al.h>.

Commit Details:

Full Hash: b2c707747da9f930a05499e98874c35d9aee7193
Parent Commit: 987b3ab
Lines Changed: +3, -4

3 Modified Paths:

/build_files/cmake/platform/platform_apple.cmake (+0, -1) (Diff)
/build_files/cmake/platform/platform_win32.cmake (+1, -1) (Diff)
/intern/audaspace/OpenAL/AUD_OpenALDevice.h (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021