2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-06-25 13:51:58 +00:00

fix: use canonical instead of absolute in test initialization

This commit is contained in:
Jan
2025-01-05 09:00:13 +00:00
parent ce3786f086
commit 83833cb84e

View File

@ -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();