Uploaded image for project: 'hicn'
  1. hicn
  2. HICN-845

Fix warning about DOWNLOAD_EXTRACT_TIMESTAMP on CMake 3.24

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 22.10
    • None
    • hicn/libtransport
    • None

      CMake 3.24 returns this warning:
      ```
      The DOWNLOAD_EXTRACT_TIMESTAMP option was not given and policy CMP0135 is
        not set.  The policy's OLD behavior will be used.  When using a URL
        download, the timestamps of extracted files should preferably be that of
        the time of extraction, otherwise code that depends on the extracted
        contents might not be rebuilt if the URL changes.  The OLD behavior
        preserves the timestamps from the archive instead, but this is usually not
        what you want.  Update your project to the NEW behavior or specify the
        DOWNLOAD_EXTRACT_TIMESTAMP option with a value of true to avoid this
        robustness issue.
      Call Stack (most recent call first):
        libtransport/third-party/CMakeLists.txt:70 (FetchContent_Declare)
      This warning is for project developers.  Use -Wno-dev to suppress it.
      ```

            micpapal Michele Papalini
            micpapal Michele Papalini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: