Fix header path for audio engine on Mac.

There's a different prefix here.

Change-Id: Ifda82e19824801b1d903ab6ad40c97428fff236c
Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@nokia.com>
This commit is contained in:
Michael Goddard
2012-06-27 17:07:44 +10:00
committed by Qt by Nokia
parent 909576da6a
commit 6f7867b5e9
4 changed files with 17 additions and 10 deletions

View File

@@ -39,7 +39,11 @@
**
****************************************************************************/
#if defined(HEADER_OPENAL_PREFIX)
#include <OpenAL/al.h>
#else
#include <AL/al.h>
#endif
int main(int argc, char** argv)
{

View File

@@ -1,7 +1,6 @@
SOURCES += main.cpp
win32 {
LIBS += -lOpenAL32
}else {
LIBS += -lopenal
}
win32: LIBS += -lOpenAL32
unix:!mac: LIBS += -lopenal
mac: LIBS += -framework OpenAL
mac: DEFINES += HEADER_OPENAL_PREFIX