summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-27 20:06:57 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-27 20:06:57 +0200
commitcfef8499db2ddb5ba6f54b83e2b68c129745e00a (patch)
treec2cc8a4165c9799942522c84155da99553c781a8
parentb5a88d757874fc7b7fecb15447c52fb40930e2ca (diff)
Add missing tags_path() for Windows and macOS.
-rw-r--r--src/lib/cross_osx.cc7
-rw-r--r--src/lib/cross_windows.cc7
2 files changed, 14 insertions, 0 deletions
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
@@ -207,6 +207,13 @@ xsd_path ()
boost::filesystem::path
+tags_path ()
+{
+ return directory_containing_executable().parent_path() / "tags";
+}
+
+
+boost::filesystem::path
openssl_path ()
{
return directory_containing_executable() / "openssl.exe";