Comment 4 for bug 1685982

Revision history for this message
Rashad Kanavath (rashadkm) wrote : Re: [Bug 1685982] Re: Install the cmake helper scripts

On Tue, Apr 25, 2017 at 9:16 AM, Léonard G <email address hidden>
wrote:

> I am not sure I understand what you are saying.
>
> When building from sources, using Autotools to locally install one would do
> ```
> ./configure
> make install
> ```
> This will not install the CMake helper scripts, but doing (in source for
> simplicity)
> ```
> cmake .
> make install
> ```
> will install everything the previous method would plus the useful CMake
> stuff.
>
> Since I am not sure how to find out how the deb package is created (not
> seeing it in their github page), I assume that you are saying that the
> deb package is generated with Autotools?
>

Hello,

Bas was saying, proj4 package is not using a "cmake build" in the package.
proj4 is using
 ./configure && make (autotools)

Best way is to get a copy of findPROJ4.cmake into your tree.
see for instance:
https://github.com/mloskot/cmake-modules/blob/master/modules/FindPROJ4.cmake

with this your find_package will work.
https://cmake.org/cmake/help/v3.0/command/find_package.html

> --
> You received this bug notification because you are a member of
> UbuntuGIS, which is subscribed to proj in Ubuntu.
> https://bugs.launchpad.net/bugs/1685982
>
> Title:
> Install the cmake helper scripts
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/proj/+bug/1685982/+subscriptions
>

--
Regards,
   Rashad