Are you sure this is still incorrect in cosmic? It seems to me this is only broken in bionic.
Cosmic build log has libssh-dev_0.8.1-1_amd64.deb ---------------------------- new debian package, version 2.0. size 217956 bytes: control archive=1172 bytes. 918 bytes, 21 lines control 845 bytes, 12 lines md5sums Package: libssh-dev Source: libssh Version: 0.8.1-1 Architecture: amd64 Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com> Original-Maintainer: Laurent Bigonville <bi...@debian.org> Installed-Size: 1064 Depends: libssh-4 (= 0.8.1-1), libssl-dev, zlib1g-dev Suggests: libssh-doc Conflicts: libssh-gcrypt-dev Section: libdevel Priority: optional Homepage: https://www.libssh.org/ Description: tiny C SSH library. Development files (OpenSSL flavor) The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its SFTP implementation, you can play with remote files easily. . This package contains development files to build the OpenSSL flavor. drwxr-xr-x root/root 0 2018-08-14 07:43 ./ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/include/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/include/libssh/ -rw-r--r-- root/root 37596 2018-08-09 09:18 ./usr/include/libssh/callbacks.h -rw-r--r-- root/root 6867 2016-03-03 19:05 ./usr/include/libssh/legacy.h -rw-r--r-- root/root 29642 2018-08-13 20:21 ./usr/include/libssh/libssh.h -rw-r--r-- root/root 20102 2018-08-10 11:23 ./usr/include/libssh/libsshpp.hpp -rw-r--r-- root/root 12393 2018-08-09 09:18 ./usr/include/libssh/server.h -rw-r--r-- root/root 31787 2018-08-10 09:06 ./usr/include/libssh/sftp.h -rw-r--r-- root/root 2735 2018-08-10 11:23 ./usr/include/libssh/ssh2.h drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/ -rw-r--r-- root/root 377 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config-version.cmake -rw-r--r-- root/root 493 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config.cmake -rw-r--r-- root/root 906476 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/libssh.a lrwxrwxrwx root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/libssh.so -> libssh.so.4 drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/pkgconfig/ -rw-r--r-- root/root 121 2018-08-14 07:43 ./usr/lib/x86_64-linux-gnu/pkgconfig/libssh.pc drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/doc/ drwxr-xr-x root/root 0 2018-08-14 07:43 ./usr/share/doc/libssh-dev/ lrwxrwxrwx root/root 0 2018-08-14 07:43 ./usr/share/doc/libssh-dev/changelog.Debian.gz -> ../libssh-4/changelog.Debian.gz -rw-r--r-- root/root 13682 2018-08-14 07:43 ./usr/share/doc/libssh-dev/copyright -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to libssh in Ubuntu. https://bugs.launchpad.net/bugs/1800135 Title: libssh-dev is missing cmake find module Status in libssh package in Ubuntu: Confirmed Bug description: libssh-dev: 0.8.0~20170825.94fa1e38-1ubuntu0.1 There is no libssh-config.cmake packaged in libssh-dev package leading to find_package calls for LibSSH failing. The build output [1] lists a /<<PKGBUILDDIR>>/debian/tmp- gcrypt/usr/lib/x86_64-linux-gnu/cmake/libssh/libssh-config.cmake file was installed, however. [1] https://launchpadlibrarian.net/356107564/buildlog_ubuntu-bionic- amd64.libssh_0.8.0~20170825.94fa1e38-1build1_BUILDING.txt.gz To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1800135/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp