From: Carl Hetherington Date: Sun, 27 Sep 2020 18:06:57 +0000 (+0200) Subject: Add missing tags_path() for Windows and macOS. X-Git-Tag: v2.15.104~77 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=cfef8499db2ddb5ba6f54b83e2b68c129745e00a Add missing tags_path() for Windows and macOS. --- 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 () {