mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
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
178 B
CMake
8 lines
178 B
CMake
# Do not set CMP0148.
|
|
set(_FindPythonLibs_testing 1)
|
|
include(FindPythonLibs)
|
|
|
|
if(NOT _FindPythonLibs_included)
|
|
message(FATAL_ERROR "FindPythonLibs.cmake not included")
|
|
endif()
|