Skip to content

Commit

Permalink
refs #4318. Fix dynamic loading of wrong libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
OwenArnold committed Dec 13, 2011
1 parent e71079a commit 8491b88
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion Code/Mantid/MantidQt/API/src/InterfaceManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,11 @@ InterfaceManagerImpl::InterfaceManagerImpl()
g_log.error() << "MANTIDPARAVIEWPATH env variable defined, but libraries cannot be loaded"
<< std::endl;
}
}
}
else
{
g_log.information("No Vates libraries to load.");
}
}

/// Destructor
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/Vates/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"MANTIDPARAVIEWPATH\\\"
Push \\\"A\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Push \\\"$INSTDIR\\\\plugins\\\"
Call EnvVarUpdate
Pop \\\$0
Expand Down Expand Up @@ -131,7 +131,7 @@ if( ParaView_FOUND AND USE_PARAVIEW )
Push \\\"MANTIDPARAVIEWPATH\\\"
Push \\\"R\\\"
Push \\\"HKCU\\\"
Push \\\"$INSTDIR\\\\bin\\\"
Push \\\"$INSTDIR\\\\plugins\\\"
Call un.EnvVarUpdate
Pop \\\$0
")
Expand Down

0 comments on commit 8491b88

Please sign in to comment.