Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8633

Use NEW behaviour for CMP0078 in CMake

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

      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@mongodb.com Alison Felizzi (Inactive)
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: