From 4726811487435170202cc2150ce92df087136271 Mon Sep 17 00:00:00 2001 From: Eric Wing Date: Fri, 4 Jan 2008 11:42:08 -0500 Subject: [PATCH] ENH: Added all lowercase 'openal' to library search names in hopes of addressing bug 6201 (won't detect on Gentoo). --- Modules/FindOpenAL.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake index f5a189ef9..7ef9bb401 100644 --- a/Modules/FindOpenAL.cmake +++ b/Modules/FindOpenAL.cmake @@ -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