Add DCPOMATIC_DISK define and don't build stuff needing boost dll library if we don...
[dcpomatic.git] / src / lib / cross_osx.cc
index fa12fb38003f5d1caf35fd3ec9ba7aab4954d572..481edad0d7cb117dea264555d527633886f457cd 100644 (file)
@@ -131,6 +131,7 @@ openssl_path ()
        return path;
 }
 
+#ifdef DCPOMATIC_DISK
 boost::filesystem::path
 disk_writer_path ()
 {
@@ -139,6 +140,7 @@ disk_writer_path ()
        path /= "dcpomatic2_disk_writer";
        return path;
 }
+#endif
 
 /* Apparently there is no way to create an ofstream using a UTF-8
    filename under Windows.  We are hence reduced to using fopen