[CONC-346] CMake warnings Created: 2018-07-02  Updated: 2018-07-11  Resolved: 2018-07-04

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.6

Type: Bug Priority: Trivial
Reporter: markus makela Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to MDEV-16662 CMake warnings Closed

 Description   

When building 10.4, I get these warnings with CMake version 3.11.2.

CMake Deprecation Warning at libmariadb/CMakeLists.txt:13 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 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 libmariadb/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.
 
 
CMake Deprecation Warning at libmariadb/CMakeLists.txt:13 (CMAKE_POLICY):
  The OLD behavior for policy CMP0045 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.



 Comments   
Comment by Sergei Golubchik [ 2018-07-02 ]

I've fixed CMP0026 warning, it's in 10.3-serg branch. Not quite tested yet, though, I'll push it into 10.3-server when it's ready

Generated at Thu Feb 08 03:04:39 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.