summaryrefslogtreecommitdiff
path: root/Modules/FindosgGA.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-15 21:20:11 -0500
committerBrad King <brad.king@kitware.com>2008-01-15 21:20:11 -0500
commit52718dbbf2539335e8a70b80497ad99b615cbe98 (patch)
tree423c999dd7c84e2ad452a360acc91b6f881aa664 /Modules/FindosgGA.cmake
parent80c2be45e0b1701406e3739bb8a0a8fcad949f69 (diff)
downloadcmake-52718dbbf2539335e8a70b80497ad99b615cbe98.tar.gz
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/FindosgGA.cmake')
-rw-r--r--Modules/FindosgGA.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgGA.cmake b/Modules/FindosgGA.cmake
index 28473abcc2..a9dc863b33 100644
--- a/Modules/FindosgGA.cmake
+++ b/Modules/FindosgGA.cmake
@@ -34,11 +34,7 @@ FIND_PATH(OSGGA_INCLUDE_DIR osgGA/FlightManipulator
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
-FIND_PATH(OSGGA_INCLUDE_DIR osgGA/FlightManipulator
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(OSGGA_INCLUDE_DIR osgGA/FlightManipulator
PATHS
~/Library/Frameworks
@@ -63,12 +59,7 @@ FIND_LIBRARY(OSGGA_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(OSGGA_LIBRARY
- NAMES osgGA
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(OSGGA_LIBRARY
NAMES osgGA
PATHS