<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<p>Re: googletest cmake version<br>
</p>
<p>I resolved the issue by adding
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5" to the googletest cmakeargs
in gnucash.modules.</p>
<p>Regards,</p>
<p>Sherlock</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 4/5/25 5:34 PM, John Ralls wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1B873485-2DDB-414D-87CD-0FD33017AC1A@ceridwen.us">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 5 Apr 2025, at 20:21, <a class="moz-txt-link-rfc2396E" href="mailto:russ.gorby@gmail.com"><russ.gorby@gmail.com></a>
<a class="moz-txt-link-rfc2396E" href="mailto:russ.gorby@gmail.com"><russ.gorby@gmail.com></a> wrote:</div>
<div>
<div class="WordSection1"
style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 11px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">
<div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><br>
<br>
<o:p></o:p></div>
<blockquote
style="margin-top: 5pt; margin-bottom: 5pt;"
type="cite">
<div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span
style="font-size: 11pt; font-family: Calibri, sans-serif;">Â </span><o:p></o:p></div>
</div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span
style="font-size: 11pt; font-family: Calibri, sans-serif;">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<span
class="apple-converted-space">Â </span></span><o:p></o:p></div>
</div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><span
style="font-size: 11pt; font-family: Calibri, sans-serif;">cmake_minimum_required(VERSION
X.Y) if X.Y < 3.5</span><o:p></o:p></div>
</div>
</div>
</blockquote>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><o:p>Â </o:p></div>
</div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;">So?
We require 3.14. 3.5 is ancient.<o:p></o:p></div>
</div>
<div>
<div
style="margin: 0in; font-size: 12pt; font-family: Aptos, sans-serif;"><b><i><span
style="font-size: 11pt; font-family: Calibri, sans-serif;">[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</span></i></b><span
style="font-size: 11pt; font-family: Calibri, sans-serif;"><o:p></o:p></span></div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
<div>Oh, OK. We just need to bump the version of googletest to
>= 1.12. Current is 1.16.</div>
<div><br>
</div>
<div>Regards,</div>
<div>John Ralls</div>
<div><br>
</div>
<br>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre wrap="" class="moz-quote-pre">_______________________________________________
gnucash-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gnucash-devel@gnucash.org">gnucash-devel@gnucash.org</a>
<a class="moz-txt-link-freetext" href="https://lists.gnucash.org/mailman/listinfo/gnucash-devel">https://lists.gnucash.org/mailman/listinfo/gnucash-devel</a>
</pre>
</blockquote>
</body>
</html>