aboutsummaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorhasufell <hasufell@posteo.de>2013-08-23 07:53:38 +0200
committerhasufell <hasufell@posteo.de>2013-08-23 07:53:38 +0200
commite84c7d825739db4e24c1bef107c1c234f6e37efd (patch)
treecd7b05439e569d2825f4a54461e646a778ca89a3 /config.h.cmake
parent357166434a740c32f4e9011d751a32d74f649800 (diff)
imrove LIBDIR detection in binreloc
use the LIBDIR we get from GNUInstallDirs module instead of this ifdef, it should be more robust and is distro dependant
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 455da69a..1621a890 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -10,6 +10,7 @@
#define HOSTNAME ""
#define ARCH_@HARDINFO_ARCH@
+#define LIBDIR "@CMAKE_INSTALL_LIBDIR@"
#define LIBPREFIX "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_LIBDIR@/hardinfo"
#define PREFIX "@CMAKE_INSTALL_PREFIX@/share/hardinfo"