<p dir="ltr">Sorry, it unbreak things for me and breaks for others. I'll redo this </p>
<br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 28, 2015, 14:04 Dirk Hohndel <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Sun, Jun 28, 2015 at 10:00:51AM -0700, Dirk Hohndel wrote:<br>
> On Sun, Jun 28, 2015 at 01:59:29PM -0300, Tomaz Canabrava wrote:<br>
> > libssh just changed the way it deals with CMakeFiles and I tougth poor dirk<br>
> > had broken the build, tsc.<br>
><br>
> Does this break builds with older libssh?<br>
<br>
Well, of course it does:<br>
<br>
make<br>
-- out of source build from source in /home/hohndel/subsurface<br>
-- Configuring done<br>
CMake Warning (dev) at CMakeLists.txt:480 (add_executable):<br>
Policy CMP0028 is not set: Double colon in target name means ALIAS or<br>
IMPORTED target.  Run "cmake --help-policy CMP0028" for policy details.<br>
Use the cmake_policy command to set the policy and suppress this warning.<br>
<br>
Target "TestGpsCoords" links to target "Libssh2::libssh2" but the target<br>
was not found.  Perhaps a find_package() call is missing for an IMPORTED<br>
target, or an ALIAS target is missing?<br>
Call Stack (most recent call first): CMakeLists.txt:493 (TEST)<br>
This warning is for project developers.  Use -Wno-dev to suppress it.<br>
<br>
and then later<br>
<br>
Linking CXX executable subsurface<br>
/usr/bin/ld: cannot find -lLibssh2::libssh2<br>
collect2: error: ld returned 1 exit status<br>
CMakeFiles/subsurface.dir/build.make:288: recipe for target 'subsurface' failed<br>
<br>
So maybe this needs a little more work, Tomaz?<br>
<br>
/D<br>
<br>
</blockquote></div>