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

8 lines
201 B
CMake
Raw Normal View History

2023-07-02 19:51:09 +02:00
cmake_policy(SET CMP0148 NEW)
set(_FindPythonLibs_testing TRUE)
find_package(PythonLibs MODULE)
if(_FindPythonLibs_included)
message(FATAL_ERROR "FindPythonLibs.cmake erroneously included")
endif()