summaryrefslogtreecommitdiffstats
path: root/Modules/FindOpenAL.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-16 02:20:11 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-16 02:20:11 (GMT)
commit52718dbbf2539335e8a70b80497ad99b615cbe98 (patch)
tree423c999dd7c84e2ad452a360acc91b6f881aa664 /Modules/FindOpenAL.cmake
parent80c2be45e0b1701406e3739bb8a0a8fcad949f69 (diff)
downloadCMake-52718dbbf2539335e8a70b80497ad99b615cbe98.zip
CMake-52718dbbf2539335e8a70b80497ad99b615cbe98.tar.gz
CMake-52718dbbf2539335e8a70b80497ad99b615cbe98.tar.bz2
BUG: Remove references to CMAKE_PREFIX_PATH variable. It should not be referenced directly by FIND_* command calls. The commands search it automatically.
Diffstat (limited to 'Modules/FindOpenAL.cmake')
-rw-r--r--Modules/FindOpenAL.cmake13
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