gnucash stable: Fix cmake warnings while searching for python

Geert Janssens gjanssens at code.gnucash.org
Thu Aug 17 12:24:13 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/29b7a909 (commit)
	from  https://github.com/Gnucash/gnucash/commit/3aa6e60f (commit)



commit 29b7a9099d2ccf3ba483ef018712e0613f3eb24f
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Aug 17 18:23:33 2023 +0200

    Fix cmake warnings while searching for python
    
    There is a new find module since cmake 3.12. Cmake 3.27 will start
    emitting warnings if the old modules are still in use.
    
    Current implementation supports both. As soon as we can bump our minimal
    cmake version to 3.12, the old support code can be dropped as well.



Summary of changes:
 CMakeLists.txt                       | 26 ++++++++++++++++++--------
 bindings/python/CMakeLists.txt       | 14 +++++++-------
 bindings/python/tests/CMakeLists.txt |  2 +-
 common/test-core/CMakeLists.txt      |  4 ++--
 gnucash/python/CMakeLists.txt        |  2 +-
 5 files changed, 29 insertions(+), 19 deletions(-)



More information about the gnucash-patches mailing list