Make sure HAVE_OPENAL_FRAMEWORK is set correctly

This commit is contained in:
Donny Lawrence 2018-05-29 21:58:43 -05:00
parent a8954d7f67
commit 5619c3ed90
2 changed files with 6 additions and 1 deletions

View File

@ -205,7 +205,9 @@ package_option(OPENAL
LICENSE "LGPL")
config_package(OPENAL "OpenAL sound library")
if(OPENAL_FOUND AND APPLE)
set(HAVE_OPENAL_FRAMEWORK YES)
endif()
#
# ------------ FreeType ------------
#

View File

@ -21,6 +21,9 @@
/* Define if we have OpenAL installed. */
#cmakedefine HAVE_OPENAL
/* Define if we have OpenAL installed as a framework. */
#cmakedefine HAVE_OPENAL_FRAMEWORK
/* Define if we have Freetype 2.0 or better available. */
#cmakedefine HAVE_FREETYPE