<div dir="ltr">Hi,<div><br></div><div>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.</div><div><br></div><div>Best</div><div><br></div><div>Gilles Caulier </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le lun. 22 juil. 2019 à 12:01, Sambhav Dusad <<a href="mailto:sambhavdusad24@gmail.com">sambhavdusad24@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<br>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.<br><br>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.<br><br>Is there any way to specify cmake to find exiv2 package in /usr/local directory or any other way?<br><br>--<br>Thanks<br>Sambhav</div>
</blockquote></div>