summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenAL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindOpenAL.cmake')
-rw-r--r--Modules/FindOpenAL.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake
index c52b027..24f3641 100644
--- a/Modules/FindOpenAL.cmake
+++ b/Modules/FindOpenAL.cmake
@@ -38,9 +38,10 @@ IF(${OPENAL_INCLUDE_DIR} MATCHES ".framework")
SET (OPENAL_LIBRARY "-framework OpenAL" CACHE STRING "OpenAL framework for OSX")
ELSE(${OPENAL_INCLUDE_DIR} MATCHES ".framework")
FIND_LIBRARY(OPENAL_LIBRARY
- NAMES openal al
+ NAMES openal al OpenAL32
PATHS
$ENV{OPENALDIR}/lib
+ $ENV{OPENALDIR}/libs
/usr/lib
/usr/local/lib
/sw/lib