=> 04b626c12cf9fcecabdf6662bd602a81aa498290
[1mdiff --git a/CMakeLists.txt b/CMakeLists.txt[m [1mindex 4c65bab6..0fb306f0 100644[m [1m--- a/CMakeLists.txt[m [1m+++ b/CMakeLists.txt[m [36m@@ -277,6 +277,8 @@[m [mMimeType=x-scheme-handler/gemini;[m RENAME fi.skyjake.lagrange.png[m )[m if (NOT ENABLE_RESOURCE_EMBED)[m [32m+[m[32m target_compile_definitions (app PUBLIC[m [32m+[m[32m LAGRANGE_EMB_BIN="${CMAKE_INSTALL_PREFIX}/share/lagrange/resources.binary")[m install (FILES ${EMB_BIN} DESTINATION share/lagrange)[m endif ()[m endif ()[m [1mdiff --git a/src/app.c b/src/app.c[m [1mindex ddd0084f..ac970865 100644[m [1m--- a/src/app.c[m [1m+++ b/src/app.c[m [36m@@ -76,6 +76,10 @@[m [mstatic const char *dataDir_App_ = "~/AppData/Roaming/fi.skyjake.Lagrange";[m #define EMB_BIN "../../share/lagrange/resources.binary"[m static const char *dataDir_App_ = "~/.config/lagrange";[m #endif[m [32m+[m[32m#if defined (LAGRANGE_EMB_BIN) /* specified in build config */[m [32m+[m[32m# undef EMB_BIN[m [32m+[m[32m# define EMB_BIN LAGRANGE_EMB_BIN[m [32m+[m[32m#endif[m #define EMB_BIN2 "../resources.binary" /* fallback from build/executable dir */[m static const char *prefsFileName_App_ = "prefs.cfg";[m static const char *stateFileName_App_ = "state.binary";[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).