OK, I am happy to release, but wanted to give one last chance to get any cmake or other updates into trunk before we cut 1.9.0.

Was there anything we still wanted to push into the build system to help cmake on Windows or any other changes?

Hope everyone is off to the start of a safe and refreshing weekend,

Troy


On 10/6/20 10:49 AM, ZdPo Ster wrote:


On Sun, 4 Oct 2020 at 21:32, Greg Hellings <greg.helli...@gmail.com <mailto:greg.helli...@gmail.com>> wrote:

    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.


IMO this (original warning) is not a problem of Microsoft but cmake.


    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.

Problem is not in SWORD but cURL (7.72.0). Here is output from cmake output:

CMake Warning (dev) at F:/win64_llvm/lib/cmake/CURL/CURLConfig.cmake:52 (if):
  if given arguments:

    "ON"

  An argument named "ON" appears in a conditional statement.  Policy CMP0012
  is not set: if() recognizes numbers and boolean constants.  Run "cmake
  --help-policy CMP0012" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.
Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.18/Modules/FindCURL.cmake:58 (find_package)
  CMakeLists.txt:57 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.
Details are explained at https://cmake.org/cmake/help/v3.18/policy/CMP0012.html. => cmake 3x expect this policy is set otherwise there is warning. In recent cmake versions The |OLD| behavior of a policy is |deprecated by definition| and may be removed in a future version of CMake.

Zdenko


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to