fix: drop unneeded GHC_FILESYSTEM_WITH_INSTALL

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-03-05 14:23:40 +01:00
parent b9dfcf6d2f
commit 07702d3be7
No known key found for this signature in database
GPG Key ID: E13DFD4B47127951

View File

@ -442,7 +442,6 @@ add_subdirectory(libraries/gamemode)
add_subdirectory(libraries/murmur2) # Hash for usage with the CurseForge API add_subdirectory(libraries/murmur2) # Hash for usage with the CurseForge API
if (NOT ghc_filesystem_FOUND) if (NOT ghc_filesystem_FOUND)
message(STATUS "Using bundled ghc_filesystem") 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_subdirectory(libraries/filesystem) # Implementation of std::filesystem for old C++, for usage in old macOS
add_library(ghcFilesystem::ghc_filesystem ALIAS ghc_filesystem) add_library(ghcFilesystem::ghc_filesystem ALIAS ghc_filesystem)
else() else()