pino added a comment.
In D13585#279400 <https://phabricator.kde.org/D13585#279400>, @asturmlechner wrote: > The problem with that is cmake picking the wrong dir (first in order is `lib`, while it should be e.g. `lib64`). Sure, and that's why I suggested to drop the usage of `LMDB_DIR`. There is already `CMAKE_PREFIX_PATH` <https://cmake.org/cmake/help/latest/variable/CMAKE_PREFIX_PATH.html> to specify additional prefixes where to search for installed software, so `LMDB_DIR` is simply an ad-hoc version of it. In case this is the chosen way, make sure to port away from where `LMDB_DIR` is used: https://lxr.kde.org/search?_filestring=&_string=LMDB_DIR REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D13585 To: asturmlechner, #baloo Cc: pino, kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams