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 ef193b640aa202a0288c7e5ea800934bf50228c1..a4888d114212dae02892ac1edfd09ca84f8bf415 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 498078785972b945d3de755393250e2c132aa3d1..cba674fefa730d550cc28af115f2f6dbedcc3a2d 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 ()
 {