]> git.sesse.net Git - nageru/blobdiff - nageru/flags.h
Make the default theme dir pick up the --prefix option given to Meson.
[nageru] / nageru / flags.h
index 4d990f8511d7a2fb7567fb2195a0e31c5c2a2e16..3586500c3057232f5f35d3502b4e6f741f774b99 100644 (file)
@@ -18,7 +18,7 @@ struct Flags {
        bool uncompressed_video_to_http = false;
        bool x264_video_to_http = false;
        bool x264_video_to_disk = false;  // Disables Quick Sync entirely. Implies x264_video_to_http == true.
-       std::vector<std::string> theme_dirs { ".", "/usr/local/share/nageru" };
+       std::vector<std::string> theme_dirs { ".", PREFIX "/share/nageru" };
        std::string recording_dir = ".";
        std::string theme_filename = "theme.lua";
        bool locut_enabled = true;