meson: remove cpp-fs dependency
Any compiler which supports C++17 doesn't have the std::filesystem
support in a separate library. Remove all the meson magic to attempt to
find this because it is all integrated into the standard C++ library.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1e788e38d26a825f2ee5836da740657ffb5ea072
diff --git a/meson.build b/meson.build
index 63e5979..03ee7fb 100644
--- a/meson.build
+++ b/meson.build
@@ -17,7 +17,6 @@
# Checking dependency external library
-cppfs = cpp.find_library('stdc++fs')
libsystemd = dependency('libsystemd', version : '>=221')
sdbusplus_dep = dependency('sdbusplus', required: false)
@@ -180,7 +179,6 @@
phosphor_dbus_interfaces_dep,
sdbusplus_dep,
phosphor_logging_dep,
- cppfs,
fmt_dep,
cereal_dep,
]
@@ -206,7 +204,6 @@
phosphor_dump_monitor_dependency = [
phosphor_dbus_interfaces_dep,
phosphor_logging_dep,
- cppfs,
fmt_dep
]
@@ -223,7 +220,6 @@
phosphor_ramoops_monitor_dependency = [
phosphor_dbus_interfaces_dep,
phosphor_logging_dep,
- cppfs,
fmt_dep
]
diff --git a/test/meson.build b/test/meson.build
index 8db5caa..d06a326 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -37,6 +37,6 @@
dump,
phosphor_logging_dep,
fmt_dep,
- cppfs]),
+ ]),
workdir: meson.current_source_dir())
endforeach