summaryrefslogtreecommitdiff
path: root/src/lib/cross_osx.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-05 00:20:27 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-09 23:38:25 +0200
commit94a9473993b027b9368077009decbdd4322f90e3 (patch)
treedca58767988a9f8c38521936992f46c9dc107194 /src/lib/cross_osx.cc
parente7a04275703b8cd54e1325d42f484ed7d0acab92 (diff)
Bump libdcp for new filesystem wrappers.
Diffstat (limited to 'src/lib/cross_osx.cc')
-rw-r--r--src/lib/cross_osx.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc
index 0f25732f2..5596e6ecb 100644
--- a/src/lib/cross_osx.cc
+++ b/src/lib/cross_osx.cc
@@ -25,6 +25,7 @@
#include "dcpomatic_log.h"
#include "config.h"
#include "exceptions.h"
+#include <dcp/filesystem.h>
#include <dcp/raw_convert.h>
#include <glib.h>
#include <boost/algorithm/string.hpp>
@@ -84,7 +85,7 @@ cpu_info ()
boost::filesystem::path
directory_containing_executable ()
{
- return boost::filesystem::canonical(boost::dll::program_location()).parent_path();
+ return dcp::filesystem::canonical(boost::dll::program_location()).parent_path();
}
@@ -106,7 +107,7 @@ void
run_ffprobe(boost::filesystem::path content, boost::filesystem::path out, bool err, string args)
{
auto path = directory_containing_executable () / "ffprobe";
- if (!boost::filesystem::exists(path)) {
+ if (!dcp::filesystem::exists(path)) {
/* This is a hack but we need ffprobe during tests */
path = "/Users/ci/workspace/bin/ffprobe";
}