Merge pull request #912 from Scrumplex/bump-ghc-filesystem

Bump ghc-filesystem
This commit is contained in:
Sefa Eyeoglu
2023-03-05 17:25:38 +01:00
committed by GitHub
2 changed files with 1 additions and 3 deletions

View File

@ -442,9 +442,7 @@ add_subdirectory(libraries/gamemode)
add_subdirectory(libraries/murmur2) # Hash for usage with the CurseForge API
if (NOT ghc_filesystem_FOUND)
message(STATUS "Using bundled ghc_filesystem")
set(GHC_FILESYSTEM_WITH_INSTALL OFF) # Workaround ghc::filesystem bug
add_subdirectory(libraries/filesystem) # Implementation of std::filesystem for old C++, for usage in old macOS
add_library(ghcFilesystem::ghc_filesystem ALIAS ghc_filesystem)
else()
message(STATUS "Using system ghc_filesystem")
endif()