[GNC-dev] recent CMake warnings

Frank H. Ellenberger frank.h.ellenberger at gmail.com
Tue Aug 15 07:38:36 EDT 2023


Hi Geert,

I watched a bunch of new CMake warnings and assume parts of our build 
files and several wiki paages have to get updated:

ninja
[0/1] Re-running CMake...
CMake Deprecation Warning:
   Support for "Extra Generators" like

     Eclipse CDT4

   is deprecated and will be removed from a future version of CMake. 
IDEs may
   use the cmake-file-api(7) to view CMake-generated project build trees.


-- Eclipse version is set to 4.26 (). Adjust CMAKE_ECLIPSE_VERSION if 
this is wrong.
-- Using guile-3.0.x
-- Using guile SRFI-64
-- Using guile textual-ports
CMake Warning (dev) at CMakeLists.txt:500 (find_package):
   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs 
modules
   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:505 (find_package):
   Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs 
modules
   are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
   the cmake_policy command to set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Checking for GTEST
-- Checking for GMOCK
-- Configuring done (14.6s)
-- Generating done (2.1s)
-- Build files have been written to: 
/home/frank/eclipse-workspace/gnucash-old/maint

cmake --version
cmake version 3.27.1

Regards
Frank


More information about the gnucash-devel mailing list