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:
Eric Wing 2008-01-04 11:42:08 -05:00
parent d18fb61c76
commit 4726811487

View File

@ -74,20 +74,20 @@ FIND_PATH(OPENAL_INCLUDE_DIR al.h
)
FIND_LIBRARY(OPENAL_LIBRARY
NAMES OpenAL al OpenAL32
NAMES OpenAL al openal OpenAL32
PATHS
$ENV{OPENALDIR}
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
)
FIND_LIBRARY(OPENAL_LIBRARY
NAMES OpenAL al OpenAL32
NAMES OpenAL al openal OpenAL32
PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64
)
FIND_LIBRARY(OPENAL_LIBRARY
NAMES OpenAL al OpenAL32
NAMES OpenAL al openal OpenAL32
PATHS
~/Library/Frameworks
/Library/Frameworks