Re: googletest cmake version

I resolved the issue by adding "-DCMAKE_POLICY_VERSION_MINIMUM=3.5" to the googletest cmakeargs in gnucash.modules.

Regards,

Sherlock


On 4/5/25 5:34 PM, John Ralls wrote:


On 5 Apr 2025, at 20:21, <russ.go...@gmail.com> <russ.go...@gmail.com> wrote:


The bigger problem now is that on 3/30/2025 mingw32/mingw-w64-i686-cmake upgraded to cmake v4.0.0 which apparently chokes on
cmake_minimum_required(VERSION X.Y) if X.Y < 3.5
So? We require 3.14. 3.5 is ancient.
*/[Russ Gorby] I saw this in the googletest module which has min version set to 2.6. Seems like this will be an issue anywhere with cmake4.0.0/*

Oh, OK. We just need to bump the version of googletest to >= 1.12. Current is 1.16.

Regards,
John Ralls



_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to