<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 20, 2016, at 5:35 PM, Tomaz Canabrava <<a href="mailto:tcanabrava@kde.org" class="">tcanabrava@kde.org</a>> wrote:</div><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">   mkdir build<br class="">
   cd build<br class="">
   cmake ..<br class="">
<br class="">
it will fail on grantlee. I'm not sure why. I get<br class="">
<br class="">
  CMake Error at cmake/Modules/HandleFindGrantlee.cmake:10 (find_package):<br class="">
    By not providing "FindGrantlee5.cmake" in CMAKE_MODULE_PATH this project<br class="">
    has asked CMake to find a package configuration file provided by<br class="">
    "Grantlee5", but CMake did not find one.<br class=""></blockquote><div class=""><br class=""></div><div class="">because the build script build things on a non-default path and CMAKE_MODULE_PATH is not set on your env  - the correct way for using grantlee is (or should be) installed via the package manager. I don't remember why we did things that way, but I guess it was because it was easier for windows / mac.</div></div></div></div></div></blockquote><div><br class=""></div>No, back when we added this not a single distro had Grantlee5 packaged, so we had to bring our own.</div><div>We should revisit this and use the distro packages, once we convinced ourselves that they exist and work</div><div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
even though I have grantlee built and installed (previously) using the<br class="">
build script. I'm not sure why it finds libdivecomputer and marble in<br class="">
the install-root directory, but not grantlee..<br class=""></blockquote><div class=""><br class=""></div><div class="">because I hardcoded some pathes on subsurface cmake to look for the install root, but aparently I forgot about grantlee. will do that.</div></div></div></div></blockquote><div><br class=""></div>Sure, that's one way to solve that, but I'd rather have you check Fedora, Arch, openSUSE and what's that other one some people insist on using...? to figure out if they have a working Grantlee5 packaged. And check homebrew as well. I of course will continue to build this on Windows...</div><div><br class=""><blockquote type="cite" class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Yes, yes, I can fix this, but it sure isn't obvious.. Is there an<br class="">
_obvious_ configuration setup, or perhaps just a better :"make clean"?<br class="">
that leaves the configuration but re-builds it?<br class=""></blockquote><div class=""><br class=""></div><div class="">Will not promise that, but I'll look it on this weekend.</div></div></div></div></blockquote><br class=""></div><div>A better make clean would be nice...</div><div><br class=""></div><div>/D</div><br class=""></body></html>