ENH: Added all lowercase 'openal' to library search names in hopes of addressing
bug 6201 (won't detect on Gentoo).
This commit is contained in:
parent
d18fb61c76
commit
4726811487
|
@ -74,20 +74,20 @@ FIND_PATH(OPENAL_INCLUDE_DIR al.h
|
||||||
)
|
)
|
||||||
|
|
||||||
FIND_LIBRARY(OPENAL_LIBRARY
|
FIND_LIBRARY(OPENAL_LIBRARY
|
||||||
NAMES OpenAL al OpenAL32
|
NAMES OpenAL al openal OpenAL32
|
||||||
PATHS
|
PATHS
|
||||||
$ENV{OPENALDIR}
|
$ENV{OPENALDIR}
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
||||||
)
|
)
|
||||||
FIND_LIBRARY(OPENAL_LIBRARY
|
FIND_LIBRARY(OPENAL_LIBRARY
|
||||||
NAMES OpenAL al OpenAL32
|
NAMES OpenAL al openal OpenAL32
|
||||||
PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
|
PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
|
||||||
NO_DEFAULT_PATH
|
NO_DEFAULT_PATH
|
||||||
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
|
||||||
)
|
)
|
||||||
FIND_LIBRARY(OPENAL_LIBRARY
|
FIND_LIBRARY(OPENAL_LIBRARY
|
||||||
NAMES OpenAL al OpenAL32
|
NAMES OpenAL al openal OpenAL32
|
||||||
PATHS
|
PATHS
|
||||||
~/Library/Frameworks
|
~/Library/Frameworks
|
||||||
/Library/Frameworks
|
/Library/Frameworks
|
||||||
|
|
Loading…
Reference in New Issue