Open
Description
The FileUtils.cpp
function appendInstallationLibraryFilePaths
returns OSG_DEFAULT_LIBRARY_PATH
, which is set in cmake:
ADD_DEFINITIONS(-DOSG_DEFAULT_LIBRARY_PATH=\"${CMAKE_INSTALL_PREFIX}/${OSG_INSTALL_LIBDIR}/${OSG_PLUGINS}\")
The ${CMAKE_INSTALL_PREFIX}
is hardcoded, meaning that the path on the build machine is searched for plugins. That is inappropriate. Instead, osgDB should search relative to the osgDB library itself.
Metadata
Metadata
Assignees
Labels
No labels