summaryrefslogtreecommitdiffstats
path: root/Modules/Findosg.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/Findosg.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/Findosg.cmake')
-rw-r--r--Modules/Findosg.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/Findosg.cmake b/Modules/Findosg.cmake
index 53fbfc3..1a4598c 100644
--- a/Modules/Findosg.cmake
+++ b/Modules/Findosg.cmake
@@ -33,11 +33,7 @@ FIND_PATH(OSG_INCLUDE_DIR osg/PositionAttitudeTransform
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
-FIND_PATH(OSG_INCLUDE_DIR osg/PositionAttitudeTransform
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(OSG_INCLUDE_DIR osg/PositionAttitudeTransform
PATHS
~/Library/Frameworks
@@ -61,12 +57,7 @@ FIND_LIBRARY(OSG_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(OSG_LIBRARY
- NAMES osg
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(OSG_LIBRARY
NAMES osg
PATHS