<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 4 Oct 2020 at 21:32, Greg Hellings <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Ah, I had heard that Microsoft understood slash characters better in paths nowadays compared to their insistence on backslashes in the past. That update should be easy to merge.<br></div></div></blockquote><div><br></div><div>IMO this (original warning) is not a problem of Microsoft but cmake.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Why do we need to call this "CMAKE_POLICY" function? What is CMP0012? You seem to be on a VERY new version of CMake, whereas we support pretty old versions. The CMakeLists.txt itself claims to support back to 2.6.0, which allows us to still cover older versions of CentOS and Ubuntu. Is this policy something specific to newer versions of CMake? I would rather not bump older versions out of accessibility if I don't need to.</div></div></blockquote><div> </div><div>Problem is not in SWORD but cURL (7.72.0). Here is output from cmake output:</div><div><br></div><div>CMake Warning (dev) at F:/win64_llvm/lib/cmake/CURL/CURLConfig.cmake:52 (if):<br>  if given arguments:<br><br>    "ON"<br><br>  An argument named "ON" appears in a conditional statement.  Policy CMP0012<br>  is not set: if() recognizes numbers and boolean constants.  Run "cmake<br>  --help-policy CMP0012" for policy details.  Use the cmake_policy command to<br>  set the policy and suppress this warning.<br>Call Stack (most recent call first):<br>  C:/Program Files/CMake/share/cmake-3.18/Modules/FindCURL.cmake:58 (find_package)<br>  CMakeLists.txt:57 (FIND_PACKAGE)<br>This warning is for project developers.  Use -Wno-dev to suppress it.</div><div> </div><div>Details are explained at <a href="https://cmake.org/cmake/help/v3.18/policy/CMP0012.html">https://cmake.org/cmake/help/v3.18/policy/CMP0012.html</a>. => cmake 3x expect this policy is set otherwise there is warning.</div><div> In recent cmake versions 
The <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">OLD</span></code> behavior of a policy is
<span class="gmail-target" id="gmail-index-0-manual:cmake-policies(7)"></span><code class="gmail-xref gmail-cmake gmail-cmake-manual gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">deprecated</span> <span class="gmail-pre">by</span> <span class="gmail-pre">definition</span></code>
and may be removed in a future version of CMake. <br></div><div><br></div><div>Zdenko</div><br></div></div>