Fix plugin path detection when installed with DESTDIR.

This is in no way perfect but should cover most common cases.

Closes #291
This commit is contained in:
Felix Geyer 2015-05-12 22:20:42 +02:00
parent 05b5446e94
commit eeb940c0dc
3 changed files with 26 additions and 14 deletions

View file

@ -8,8 +8,8 @@
#define KEEPASSX_SOURCE_DIR "${CMAKE_SOURCE_DIR}"
#define KEEPASSX_BINARY_DIR "${CMAKE_BINARY_DIR}"
#define KEEPASSX_PREFIX_DIR "${CMAKE_INSTALL_PREFIX}"
#define KEEPASSX_PLUGIN_DIR "${PLUGIN_INSTALL_DIR}"
#define KEEPASSX_DATA_DIR "${DATA_INSTALL_DIR}"
#cmakedefine HAVE_PR_SET_DUMPABLE 1