Skip to content
Snippets Groups Projects
Commit 6a612b55 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Correction for PV_PLUGIN_PATH. Refs #5379

It should point to the sub-directory.
parent 6bc1fa4a
No related branches found
No related tags found
No related merge requests found
......@@ -363,7 +363,7 @@ if ( ${CMAKE_PROJECT_NAME} STREQUAL "MantidFramework" )
endif ()
set ( PLUGINS "." )
set ( PV_PLUGINS "./pvplugins/pvplugins" )
set ( PV_PLUGINS "./pvplugins" )
set ( QTPLUGINS "." )
set ( PYTHONALGS ${MANTID_ROOT}/Framework/PythonAPI/PythonAlgorithms )
set ( DATADIRS ${MANTID_ROOT}/../../Test/AutoTestData;${MANTID_ROOT}/instrument )
......
......@@ -1303,7 +1303,7 @@ void ConfigServiceImpl::setParaViewPluginPath() const
g_log.debug("No ParaView plugin directory specified in the properties file.");
return; // it didn't work
}
pv_plugin_path = Poco::Path(user_loc);
pv_plugin_path = Poco::Path(user_loc, "pvplugins");
pv_plugin_path = pv_plugin_path.absolute();
pv_plugin = Poco::File(pv_plugin_path.toString());
if (!pv_plugin.exists() || !pv_plugin.isDirectory())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment