Add xsd_path() and use it to fix access to .xsd files on Linux (#1830).
[dcpomatic.git] / src / lib / cross_windows.cc
index 337750dcbfd4525520c82ddc13990f44cb95f55c..272467bd3aee35af4b7293b00f3c73d87b86e05f 100644 (file)
@@ -199,6 +199,13 @@ shared_path ()
 }
 
 
+boost::filesystem::path
+xsd_path ()
+{
+       return directory_containing_executable().parent_path() / "xsd";
+}
+
+
 boost::filesystem::path
 openssl_path ()
 {