Add missing tags_path() for Windows and macOS.
authorCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 18:06:57 +0000 (20:06 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 27 Sep 2020 18:06:57 +0000 (20:06 +0200)
src/lib/cross_osx.cc
src/lib/cross_windows.cc

index ef193b6..a4888d1 100644 (file)
@@ -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)
 {
index 4980787..cba674f 100644 (file)
@@ -206,6 +206,13 @@ xsd_path ()
 }
 
 
+boost::filesystem::path
+tags_path ()
+{
+       return directory_containing_executable().parent_path() / "tags";
+}
+
+
 boost::filesystem::path
 openssl_path ()
 {