[CONC-380] CMake (version 13.x) warnings Created: 2018-12-10  Updated: 2019-07-16  Resolved: 2019-07-16

Status: Closed
Project: MariaDB Connector/C
Component/s: None
Affects Version/s: None
Fix Version/s: 3.0.11, 3.1.3

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Georg Richter
Resolution: Fixed Votes: 0
Labels: None


 Description   

when building with server, with recent cmake, C/C spits out following warnings

== Configuring MariaDB Connector/C
CMake Warning (dev) at libmariadb/CMakeLists.txt:49 (OPTION):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
 
  For compatibility with older versions of CMake, option is clearing the
  normal variable 'CONC_WITH_SIGNCODE'.
Call Stack (most recent call first):
  libmariadb/CMakeLists.txt:57 (ADD_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.
 
CMake Warning (dev) at libmariadb/CMakeLists.txt:49 (OPTION):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
 
  For compatibility with older versions of CMake, option is clearing the
  normal variable 'CONC_WITH_CURL'.
Call Stack (most recent call first):
  libmariadb/CMakeLists.txt:64 (ADD_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.
 
CMake Warning (dev) at libmariadb/CMakeLists.txt:49 (OPTION):
  Policy CMP0077 is not set: option() honors normal variables.  Run "cmake
  --help-policy CMP0077" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
 
  For compatibility with older versions of CMake, option is clearing the
  normal variable 'CONC_WITH_SSL'.
Call Stack (most recent call first):
  libmariadb/CMakeLists.txt:65 (ADD_OPTION)
This warning is for project developers.  Use -Wno-dev to suppress it.



 Comments   
Comment by Marc [ 2019-07-09 ]

I can confirm this too. Since compilation does not work, I suspect these warnings might be the reason.

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