[Debichem-devel] Bug#902649: openbabel: CMake v3.11.2 deprecation warnings

Andrius Merkys andrius.merkys at gmail.com
Fri Jun 29 06:31:04 BST 2018


Source: openbabel
control: forwarded -1 https://github.com/openbabel/openbabel/issues/1860

Hello.

Running ``cmake`` with CMake v3.11.2 results in the following CMake deprecation warnings being issued:

CMake Deprecation Warning at CMakeLists.txt:11 (cmake_policy):
  The OLD behavior for policy CMP0005 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:13 (cmake_policy):
  The OLD behavior for policy CMP0042 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.

The input files for CMake should be updated in order not to use the deprecated features.

Andrius

-- 
Andrius Merkys
Vilnius University Institute of Biotechnology, SaulÄ—tekio al. 7, room V325
LT-10257 Vilnius, Lithuania



More information about the Debichem-devel mailing list