Skip to content

CMake 3.27+ warning #50

@AlexyPellegrini

Description

@AlexyPellegrini

FindPythonLibs and PythonInterp have been "removed" from CMake 3.27+. They are, in fact, still working but throw a warning when used:

   CMake Warning (dev) at CMake/vtkWrapPython.cmake:187 (find_package):
        Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
        are removed.  Run "cmake --help-policy CMP0148" for policy details.  Use
        the cmake_policy command to set the policy and suppress this warning.

      Call Stack (most recent call first):
        CMake/vtkMacroKitPythonWrap.cmake:165 (include)
        CMakeLists.txt:229 (vtkMacroKitPythonWrap)

They have been replaced by FindPython

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