mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-19 15:52:53 +00:00
fix: use canonical instead of absolute in test initialization
This commit is contained in:
parent
ce3786f086
commit
83833cb84e
@ -7,7 +7,7 @@ namespace fs = std::filesystem;
|
||||
|
||||
int main(const int argc, char* argv[])
|
||||
{
|
||||
const fs::path absoluteBinDir(fs::absolute(argv[0]).parent_path());
|
||||
const fs::path absoluteBinDir(fs::canonical(argv[0]).parent_path());
|
||||
|
||||
const auto expectedLibDir = absoluteBinDir.parent_path().parent_path();
|
||||
const auto expectedBuildDir = expectedLibDir.parent_path();
|
||||
|
Loading…
x
Reference in New Issue
Block a user