Your problem is to try to use exiv2 development files in an extra directory when official development package is already installed on your system. Only one must be installed. In other word, uninstall system devel package and this will be better.
Best
Gilles Caulier
Le lun. 22 juil. 2019 à 12:01, Sambhav Dusad <[hidden email]> a écrit :
Hello, My previous laptop got bad so I had to build digikam again on a new machine. While building digikam, I installed all the dependencies but exiv2 packages show an error.
I built exiv2 from source in default directory i.e. /usr/local (packages and libs) but cmake always try to find exiv packages in /usr/include folder rather than /usr/local. I even removed any exiv2 packages in /usr/include directory.
Is there any way to specify cmake to find exiv2 package in /usr/local directory or any other way?