Skip to content

CMake deprecation warnings #4

@tpadioleau

Description

@tpadioleau

I am seeing the two following deprecation warnings when using CMake version 3.31.

CMake Deprecation Warning at /home/TP026749/spack/opt/spack/linux-cascadelake/paraconf-1.0.0-7pb5fjw66glrgrhtqk5zlugeckibbgcl/share/paraconf/cmake/paraconfConfig.cmake:25 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  /home/TP026749/spack/opt/spack/linux-cascadelake/pdi-1.9.1-ulh4rajlexbcv224eq45boew4grjmyxs/share/pdi/cmake/CMakeFindDependencyMacro.cmake:48 (find_package)
  /home/TP026749/spack/opt/spack/linux-cascadelake/pdi-1.9.1-ulh4rajlexbcv224eq45boew4grjmyxs/share/pdi/cmake/PDIConfig.cmake:133 (find_dependency)
  /home/TP026749/spack/opt/spack/linux-cascadelake/cmake-3.31.8-tzprhdswdrymbikasc7oppc22sqr7hxk/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /home/TP026749/spack/opt/spack/linux-cascadelake/ddc-0.8.0-jgt3r5i7tpups6hgjnimq3z6pcvokvgo/lib64/cmake/DDC/DDCConfig.cmake:39 (find_dependency)
  /home/TP026749/spack/opt/spack/linux-cascadelake/ddc-0.8.0-jgt3r5i7tpups6hgjnimq3z6pcvokvgo/lib64/cmake/DDC/DDCConfig.cmake:79 (ddc_find_dependency)
  CMakeLists.txt:11 (find_package)


CMake Deprecation Warning at /home/TP026749/spack/opt/spack/linux-cascadelake/paraconf-1.0.0-7pb5fjw66glrgrhtqk5zlugeckibbgcl/share/paraconf/cmake/Findyaml.cmake:27 (cmake_minimum_required):
  Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.
Call Stack (most recent call first):
  /home/TP026749/spack/opt/spack/linux-cascadelake/pdi-1.9.1-ulh4rajlexbcv224eq45boew4grjmyxs/share/pdi/cmake/CMakeFindDependencyMacro.cmake:48 (find_package)
  /home/TP026749/spack/opt/spack/linux-cascadelake/paraconf-1.0.0-7pb5fjw66glrgrhtqk5zlugeckibbgcl/share/paraconf/cmake/paraconfConfig.cmake:45 (find_dependency)
  /home/TP026749/spack/opt/spack/linux-cascadelake/pdi-1.9.1-ulh4rajlexbcv224eq45boew4grjmyxs/share/pdi/cmake/CMakeFindDependencyMacro.cmake:48 (find_package)
  /home/TP026749/spack/opt/spack/linux-cascadelake/pdi-1.9.1-ulh4rajlexbcv224eq45boew4grjmyxs/share/pdi/cmake/PDIConfig.cmake:133 (find_dependency)
  /home/TP026749/spack/opt/spack/linux-cascadelake/cmake-3.31.8-tzprhdswdrymbikasc7oppc22sqr7hxk/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /home/TP026749/spack/opt/spack/linux-cascadelake/ddc-0.8.0-jgt3r5i7tpups6hgjnimq3z6pcvokvgo/lib64/cmake/DDC/DDCConfig.cmake:39 (find_dependency)
  /home/TP026749/spack/opt/spack/linux-cascadelake/ddc-0.8.0-jgt3r5i7tpups6hgjnimq3z6pcvokvgo/lib64/cmake/DDC/DDCConfig.cmake:79 (ddc_find_dependency)
  CMakeLists.txt:11 (find_package)

Could it be possible to update the minimum required because as you can see they can become quite verbose ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions