Verified Commit 27ad19e3 authored by Flavien BRIDAULT-LOUCHEZ's avatar Flavien BRIDAULT-LOUCHEZ
Browse files

fix(core): use sight_core module path to determine the runtime dir

parent a352a7da
......@@ -59,7 +59,7 @@ std::shared_ptr<Runtime> Runtime::m_instance;
Runtime::Runtime()
{
// The lib location is 'SIGHT_DIR/lib/sight_core.dll'
m_workingPath = ::boost::dll::program_location().parent_path().parent_path().string();
m_workingPath = ::boost::dll::this_line_location().parent_path().parent_path().string();
}
//------------------------------------------------------------------------------
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment