Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Lucas SCHMIDT
sight
Commits
27ad19e3
Verified
Commit
27ad19e3
authored
Sep 08, 2021
by
Flavien BRIDAULT-LOUCHEZ
Browse files
fix(core): use sight_core module path to determine the runtime dir
parent
a352a7da
Changes
1
Hide whitespace changes
Inline
Side-by-side
libs/core/core/runtime/detail/Runtime.cpp
View file @
27ad19e3
...
...
@@ -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
();
}
//------------------------------------------------------------------------------
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment