diff options
Diffstat (limited to 'Modules/FindosgViewer.cmake')
-rw-r--r-- | Modules/FindosgViewer.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgViewer.cmake b/Modules/FindosgViewer.cmake index 46e496ce7a..b9efd47ef6 100644 --- a/Modules/FindosgViewer.cmake +++ b/Modules/FindosgViewer.cmake @@ -34,11 +34,7 @@ FIND_PATH(OSGVIEWER_INCLUDE_DIR osgViewer/Viewer NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(OSGVIEWER_INCLUDE_DIR osgViewer/Viewer - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(OSGVIEWER_INCLUDE_DIR osgViewer/Viewer PATHS ~/Library/Frameworks @@ -63,12 +59,7 @@ FIND_LIBRARY(OSGVIEWER_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(OSGVIEWER_LIBRARY - NAMES osgViewer - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(OSGVIEWER_LIBRARY NAMES osgViewer PATHS |