From cfef8499db2ddb5ba6f54b83e2b68c129745e00a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 27 Sep 2020 20:06:57 +0200 Subject: [PATCH] Add missing tags_path() for Windows and macOS. --- src/lib/cross_osx.cc | 7 +++++++ src/lib/cross_windows.cc | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index ef193b640..a4888d114 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -130,6 +130,13 @@ xsd_path () } +boost::filesystem::path +tags_path () +{ + return resources_path() / "tags"; +} + + void run_ffprobe (boost::filesystem::path content, boost::filesystem::path out) { diff --git a/src/lib/cross_windows.cc b/src/lib/cross_windows.cc index 498078785..cba674fef 100644 --- a/src/lib/cross_windows.cc +++ b/src/lib/cross_windows.cc @@ -206,6 +206,13 @@ xsd_path () } +boost::filesystem::path +tags_path () +{ + return directory_containing_executable().parent_path() / "tags"; +} + + boost::filesystem::path openssl_path () { -- 2.30.2