summaryrefslogtreecommitdiff
path: root/config.h.in
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-19 04:26:08 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-19 04:26:35 +0200
commitc0e1cd57b24469d36fa74b4ae37ba621eead07a0 (patch)
tree43416e3f314cbaf338642d26e52146ab466671a0 /config.h.in
parent00184811ea6ba7f3bb53730ef026d653a5121e50 (diff)
downloadxK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.tar.gz
xK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.tar.xz
xK-c0e1cd57b24469d36fa74b4ae37ba621eead07a0.zip
Make sure to always find installed plugins
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index 7e68c14..6f3911f 100644
--- a/config.h.in
+++ b/config.h.in
@@ -3,6 +3,9 @@
#define PROGRAM_VERSION "${project_version}"
+// We use the XDG Base Directory Specification, but may be installed anywhere.
+#define PROJECT_DATADIR "${CMAKE_INSTALL_FULL_DATADIR}"
+
#cmakedefine HAVE_READLINE
#cmakedefine HAVE_EDITLINE
#cmakedefine HAVE_LUA