[PROJ] cmake find_package() fails to find PROJ6 installed with MacPorts

Sebastiaan Couwenberg sebastic at xs4all.nl
Wed Jun 1 11:45:36 PDT 2022


On 6/1/22 20:29, Tom O'Reilly wrote:
> Moreover I do not see any files named "proj*.cmake" in /opt/local - somehow installing proj6 with MacPorts did not include this package information?

The proj6 port is built using autotools, which doesn't include the 
installation of the CMake bits:

  https://github.com/macports/macports-ports/blob/master/gis/proj6/Portfile

The proj9 port uses CMake which should install the proj CMake files:

  https://github.com/macports/macports-ports/blob/master/gis/proj9/Portfile

Kind Regards,

Bas

-- 
  GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1


More information about the PROJ mailing list