Обсуждение: [pgadmin] patch: supported cmake version

Поиск
Список
Период
Сортировка

[pgadmin] patch: supported cmake version

От
Christoph Berg
Дата:
While updating the Debian package I noticed that pgadmin requires at
least cmake 3.3:

  CMake Error at cmake/FindBoost.cmake:238 (cmake_policy):
    Policy "CMP0057" is not known to this version of CMake.

https://cmake.org/cmake/help/v3.3/policy/CMP0057.html

  CMake 3.3 adds support for the new IN_LIST operator.

This should be noted in the documentation:

diff --git a/README b/README
index 610f4ba..6c583b4 100644
--- a/README
+++ b/README
@@ -15,7 +15,7 @@ Building pgAgent
 You will need:

 - A C/C++ compiler, such as GCC or Microsoft Visual C++ on Windows.
-- CMake 2.6 (from www.cmake.org)
+- CMake 3.3 or higher (from www.cmake.org)
 - A Boost library 1.41 or higher installation
 - A PostgreSQL 8.3 or higher installation


Christoph


Re: [pgagent] patch: supported cmake version

От
Christoph Berg
Дата:
Uh, the subject should of course have been "[pgagent]"...

Re: To pgAdmin III support 2018-07-20 <20180720085156.GA15185@msg.df7cb.de>
> While updating the Debian package I noticed that pgadmin requires at
> least cmake 3.3:
> 
>   CMake Error at cmake/FindBoost.cmake:238 (cmake_policy):
>     Policy "CMP0057" is not known to this version of CMake.
> 
> https://cmake.org/cmake/help/v3.3/policy/CMP0057.html
> 
>   CMake 3.3 adds support for the new IN_LIST operator.
> 
> This should be noted in the documentation:
> 
> diff --git a/README b/README
> index 610f4ba..6c583b4 100644
> --- a/README
> +++ b/README
> @@ -15,7 +15,7 @@ Building pgAgent
>  You will need:
> 
>  - A C/C++ compiler, such as GCC or Microsoft Visual C++ on Windows.
> -- CMake 2.6 (from www.cmake.org)
> +- CMake 3.3 or higher (from www.cmake.org)
>  - A Boost library 1.41 or higher installation
>  - A PostgreSQL 8.3 or higher installation
> 

Christoph


Re: [pgagent] patch: supported cmake version

От
Dave Page
Дата:


On Fri, Jul 20, 2018 at 9:53 AM, Christoph Berg <myon@debian.org> wrote:
Uh, the subject should of course have been "[pgagent]"...

:-)

Thanks - fixed in git.
 

Re: To pgAdmin III support 2018-07-20 <20180720085156.GA15185@msg.df7cb.de>
> While updating the Debian package I noticed that pgadmin requires at
> least cmake 3.3:
>
>   CMake Error at cmake/FindBoost.cmake:238 (cmake_policy):
>     Policy "CMP0057" is not known to this version of CMake.
>
> https://cmake.org/cmake/help/v3.3/policy/CMP0057.html
>
>   CMake 3.3 adds support for the new IN_LIST operator.
>
> This should be noted in the documentation:
>
> diff --git a/README b/README
> index 610f4ba..6c583b4 100644
> --- a/README
> +++ b/README
> @@ -15,7 +15,7 @@ Building pgAgent
>  You will need:
>
>  - A C/C++ compiler, such as GCC or Microsoft Visual C++ on Windows.
> -- CMake 2.6 (from www.cmake.org)
> +- CMake 3.3 or higher (from www.cmake.org)
>  - A Boost library 1.41 or higher installation
>  - A PostgreSQL 8.3 or higher installation
>

Christoph




--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company