mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
a4c5b91f80
The `FindPythonInterp` and `FindPythonLibs` modules have been deprecated
since CMake 3.12. Add a policy to pretend they do not exist in order to
encourage projects to port to `FindPython` or `FindPython{2,3}`.
8 lines
186 B
CMake
8 lines
186 B
CMake
# Do not set CMP0148.
|
|
set(_FindPythonInterp_testing 1)
|
|
include(FindPythonInterp)
|
|
|
|
if(NOT _FindPythonInterp_included)
|
|
message(FATAL_ERROR "FindPythonInterp.cmake not included")
|
|
endif()
|