diff options
Diffstat (limited to 'Modules/FindosgProducer.cmake')
-rw-r--r-- | Modules/FindosgProducer.cmake | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/Modules/FindosgProducer.cmake b/Modules/FindosgProducer.cmake index 09f99a0..7ff3292 100644 --- a/Modules/FindosgProducer.cmake +++ b/Modules/FindosgProducer.cmake @@ -34,11 +34,7 @@ FIND_PATH(OSGPRODUCER_INCLUDE_DIR osgProducer/OsgSceneHandler NO_DEFAULT_PATH PATH_SUFFIXES include ) -FIND_PATH(OSGPRODUCER_INCLUDE_DIR osgProducer/OsgSceneHandler - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES include -) + FIND_PATH(OSGPRODUCER_INCLUDE_DIR osgProducer/OsgSceneHandler PATHS ~/Library/Frameworks @@ -63,12 +59,7 @@ FIND_LIBRARY(OSGPRODUCER_LIBRARY NO_DEFAULT_PATH PATH_SUFFIXES lib64 lib ) -FIND_LIBRARY(OSGPRODUCER_LIBRARY - NAMES osgProducer - PATHS ${CMAKE_PREFIX_PATH} # Unofficial: We are proposing this. - NO_DEFAULT_PATH - PATH_SUFFIXES lib64 lib -) + FIND_LIBRARY(OSGPRODUCER_LIBRARY NAMES osgProducer PATHS |