diff options
Diffstat (limited to 'Modules/FindosgShadow.cmake')
-rw-r--r-- | Modules/FindosgShadow.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgShadow.cmake b/Modules/FindosgShadow.cmake index 1a942f3..65a2336 100644 --- a/Modules/FindosgShadow.cmake +++ b/Modules/FindosgShadow.cmake @@ -34,11 +34,7 @@ FIND_PATH(OSGSHADOW_INCLUDE_DIR osgShadow/ShadowTexture NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(OSGSHADOW_INCLUDE_DIR osgShadow/ShadowTexture - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(OSGSHADOW_INCLUDE_DIR osgShadow/ShadowTexture PATHS ~/Library/Frameworks @@ -63,12 +59,7 @@ FIND_LIBRARY(OSGSHADOW_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(OSGSHADOW_LIBRARY - NAMES osgShadow - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(OSGSHADOW_LIBRARY NAMES osgShadow PATHS |