diff options
Diffstat (limited to 'Modules/FindOpenAL.cmake')
-rw-r--r-- | Modules/FindOpenAL.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindOpenAL.cmake b/Modules/FindOpenAL.cmake index 7ef9bb4..088aee5 100644 --- a/Modules/FindOpenAL.cmake +++ b/Modules/FindOpenAL.cmake @@ -54,11 +54,7 @@ FIND_PATH(OPENAL_INCLUDE_DIR al.h NO_DEFAULT_PATH PATH_SUFFIXES include/AL include/OpenAL include ) -FIND_PATH(OPENAL_INCLUDE_DIR al.h - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include/AL include/OpenAL include -) + FIND_PATH(OPENAL_INCLUDE_DIR al.h PATHS ~/Library/Frameworks @@ -80,12 +76,7 @@ FIND_LIBRARY(OPENAL_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib libs64 libs libs/Win32 libs/Win64 ) -FIND_LIBRARY(OPENAL_LIBRARY - 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 openal OpenAL32 PATHS |