summaryrefslogtreecommitdiffstats
path: root/Modules/FindosgFX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/FindosgFX.cmake')
-rw-r--r--Modules/FindosgFX.cmake13
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgFX.cmake b/Modules/FindosgFX.cmake
index 4510460..cc1c3a6 100644
--- a/Modules/FindosgFX.cmake
+++ b/Modules/FindosgFX.cmake
@@ -34,11 +34,7 @@ FIND_PATH(OSGFX_INCLUDE_DIR osgFX/BumpMapping
NO_DEFAULT_PATH
PATH_SUFFIXES include
)
-FIND_PATH(OSGFX_INCLUDE_DIR osgFX/BumpMapping
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES include
-)
+
FIND_PATH(OSGFX_INCLUDE_DIR osgFX/BumpMapping
PATHS
~/Library/Frameworks
@@ -63,12 +59,7 @@ FIND_LIBRARY(OSGFX_LIBRARY
NO_DEFAULT_PATH
PATH_SUFFIXES lib64 lib
)
-FIND_LIBRARY(OSGFX_LIBRARY
- NAMES osgFX
- PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this.
- NO_DEFAULT_PATH
- PATH_SUFFIXES lib64 lib
-)
+
FIND_LIBRARY(OSGFX_LIBRARY
NAMES osgFX
PATHS