Add xsd_path() and use it to fix access to .xsd files on Linux (#1830).
[dcpomatic.git] / src / lib / cross_osx.cc
index e91d3df16c4a6e982bcd871aee39d3b2de77ed1e..412259e6a0e687ef62a23a1c899040c2b6c61c09 100644 (file)
@@ -123,6 +123,13 @@ shared_path ()
 }
 
 
+boost::filesystem::path
+xsd_path ()
+{
+       return shared_path() / "xsd";
+}
+
+
 void
 run_ffprobe (boost::filesystem::path content, boost::filesystem::path out)
 {