Use NEW behaviour for CMP0078 in CMake

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT11.0.0, 5.3.0, 5.2.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2022-01-10
    • 2

      CMake builds using the MongoDB v4 toolchain results in the following deprecation warnings.

      CMake Deprecation Warning at lang/python/CMakeLists.txt:13 (cmake_policy):
        The OLD behavior for policy CMP0078 will be removed from a future version
        of CMake.
      
        The cmake-policies(7) manual explains that the OLD behaviors of all
        policies are deprecated and that a policy should be set to OLD only under
        specific short-term circumstances.  Projects should be ported to the NEW
        behavior and not rely on setting a policy to OLD.
      
      
      CMake Deprecation Warning at bench/workgen/CMakeLists.txt:39 (cmake_policy):
        The OLD behavior for policy CMP0078 will be removed from a future version
        of CMake.
      
        The cmake-policies(7) manual explains that the OLD behaviors of all
        policies are deprecated and that a policy should be set to OLD only under
        specific short-term circumstances.  Projects should be ported to the NEW
        behavior and not rely on setting a policy to OLD.
      

              Assignee:
              Alison Felizzi (Inactive)
              Reporter:
              Haribabu Kommi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: