Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake 3.27+ warning #50

Open
AlexyPellegrini opened this issue Sep 17, 2024 · 0 comments
Open

CMake 3.27+ warning #50

AlexyPellegrini opened this issue Sep 17, 2024 · 0 comments

Comments

@AlexyPellegrini
Copy link
Contributor

AlexyPellegrini commented Sep 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant