cmake/Tests/RunCMake/find_package/CMP0148-Interp-NEW.cmake

8 lines
209 B
CMake
Raw Normal View History

2023-07-02 19:51:09 +02:00
cmake_policy(SET CMP0148 NEW)
set(_FindPythonInterp_testing TRUE)
find_package(PythonInterp MODULE)
if(_FindPythonInterp_included)
message(FATAL_ERROR "FindPythonInterp.cmake erroneously included")
endif()