diff options
Diffstat (limited to 'Modules/FindosgSim.cmake')
-rw-r--r-- | Modules/FindosgSim.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgSim.cmake b/Modules/FindosgSim.cmake index f6a8b6b..4bff328 100644 --- a/Modules/FindosgSim.cmake +++ b/Modules/FindosgSim.cmake @@ -34,11 +34,7 @@ FIND_PATH(OSGSIM_INCLUDE_DIR osgSim/ImpostorSprite NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(OSGSIM_INCLUDE_DIR osgSim/ImpostorSprite - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(OSGSIM_INCLUDE_DIR osgSim/ImpostorSprite PATHS ~/Library/Frameworks @@ -63,12 +59,7 @@ FIND_LIBRARY(OSGSIM_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(OSGSIM_LIBRARY - NAMES osgSim - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(OSGSIM_LIBRARY NAMES osgSim PATHS |