summaryrefslogtreecommitdiffstats
path: root/Modules/Findosg.cmake
diff options
context:
space:
mode:
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