Skip to content

findDependencies.cmake: use FindPython instead of deprecated FindPythonInterp#5485

Merged
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
firewave:cmake-py
Sep 27, 2023
Merged

findDependencies.cmake: use FindPython instead of deprecated FindPythonInterp#5485
chrchr-github merged 1 commit intocppcheck-opensource:mainfrom
firewave:cmake-py

Conversation

@firewave
Copy link
Copy Markdown
Collaborator

This fixes the following warning with CMake 3.27:

CMake Warning (dev) at cmake/findDependencies.cmake:42 (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):
  CMakeLists.txt:15 (include)
This warning is for project developers.  Use -Wno-dev to suppress it.

@firewave firewave changed the title findDependencies.cmake: use FindPython instead of deprecated and removed FindPythonInterp findDependencies.cmake: use FindPython instead of deprecated FindPythonInterp Sep 26, 2023
@chrchr-github chrchr-github merged commit ca20152 into cppcheck-opensource:main Sep 27, 2023
@firewave firewave deleted the cmake-py branch September 27, 2023 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants