cmake/Tests/RunCMake/find_package/CMP0167-NEW.cmake
2024-07-09 14:46:46 +02:00

8 lines
181 B
CMake

cmake_policy(SET CMP0167 NEW)
set(_FindBoost_testing TRUE)
find_package(Boost MODULE)
if(_FindBoost_included)
message(FATAL_ERROR "FindBoost.cmake erroneously included")
endif()