From 6018f35598b9b3accf6fa9d75203bc5f780555c9 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Tue, 16 Apr 2024 12:40:10 +0400 Subject: [PATCH] Disable std::filesystem TR support, we require C++20 anyway. --- src/build_config/compiler_options.cmake | 2 +- src/hz/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/build_config/compiler_options.cmake b/src/build_config/compiler_options.cmake index 7b80ce8..0938ead 100644 --- a/src/build_config/compiler_options.cmake +++ b/src/build_config/compiler_options.cmake @@ -14,7 +14,7 @@ set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) # C++17 filesystem (including experimental) -find_package(Filesystem REQUIRED COMPONENTS Experimental Final) +#find_package(Filesystem REQUIRED COMPONENTS Experimental Final) # Enable PIC, required on many systems diff --git a/src/hz/CMakeLists.txt b/src/hz/CMakeLists.txt index 4ad8c4a..6de035d 100644 --- a/src/hz/CMakeLists.txt +++ b/src/hz/CMakeLists.txt @@ -39,7 +39,7 @@ target_link_libraries(hz libdebug # debug.h whereami # whereami.h tl_expected # error_container.h - std::filesystem # fs_ns.h, linking to stdc++fs / c++fs if needed +# std::filesystem # fs_ns.h, linking to stdc++fs / c++fs if needed ) # Support if needed