1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-25 12:41:01 +00:00

make use of std::filesystem::absolute as ::system_complete was dropped from spec

This commit is contained in:
Bret Curtis 2022-06-08 15:35:35 +02:00
parent 787f8fb627
commit 339169b60a

View File

@ -208,7 +208,7 @@ namespace
int runApplication(int argc, char *argv[])
{
#ifdef __APPLE__
std::filesystem::path binary_path = std::filesystem::system_complete(std::filesystem::path(argv[0]));
std::filesystem::path binary_path = std::filesystem::absolute(std::filesystem::path(argv[0]));
std::filesystem::current_path(binary_path.parent_path());
setenv("OSG_GL_TEXTURE_STORAGE", "OFF", 0);
#endif