Skip to content

Commit

Permalink
fix : PathConfig macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
smallboyc committed Jul 18, 2024
1 parent 8d8fc39 commit d87f94b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added lib/.DS_Store
Binary file not shown.
8 changes: 3 additions & 5 deletions src/Cool/Path/PathsConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ auto PathsConfig::root() const -> std::filesystem::path
// This is important because only the ones at the root are tracked in Git.
return COOL_DEBUG_ONLY__CMAKE_SOURCE_DIR;
#else
#if defined(__APPLE__)
return exe_path::dir() / "../Resources/bin"; // This is how a MacOS bundle is structured: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#bundle-layout
#else
return exe_path::dir();
#endif
//TODO(Launcher)
return exe_path::dir(); // This is how a MacOS bundle is structured: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cpack/PackageGenerators#bundle-layout

#endif
}

Expand Down

0 comments on commit d87f94b

Please sign in to comment.