summaryrefslogtreecommitdiff
path: root/Modules/FindosgDB.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgDB.cmake')
-rw-r--r--Modules/FindosgDB.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgDB.cmake b/Modules/FindosgDB.cmake
index c0d0b08720..711e5f3668 100644
--- a/Modules/FindosgDB.cmake
+++ b/Modules/FindosgDB.cmake
@@ -34,11 +34,7 @@ FIND_PATH(OSGDB_INCLUDE_DIR osgDB/DatabasePager
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
-FIND_PATH(OSGDB_INCLUDE_DIR osgDB/DatabasePager
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(OSGDB_INCLUDE_DIR osgDB/DatabasePager
PATHS
~/Library/Frameworks
@@ -63,12 +59,7 @@ FIND_LIBRARY(OSGDB_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(OSGDB_LIBRARY
- NAMES osgDB
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(OSGDB_LIBRARY
NAMES osgDB
PATHS