Fix problem with OSPRay rpath on Mac
@@ -1203,7 +1203,7 @@ IF(VISIT_OSPRAY)
FIND_PACKAGE(ospray REQUIRED)
ADD_DEFINITIONS(-DVISIT_OSPRAY)
INCLUDE_DIRECTORIES(${OSPRAY_INCLUDE_DIR})
- LINK_DIRECTORIES(${VISIT_OSPRAY_DIR}/../..)
+ LINK_DIRECTORIES(${VISIT_OSPRAY_DIR}/lib)
SET(OSPRAY_LIBRARIES # additional module library
${OSPRAY_LIBRARIES}
${LIBRARY_PATH_PREFIX}ospray_module_ispc${LIBRARY_SUFFIX}
