cmake/Tests/RunCMake/find_package/CMP0084-NEW.cmake

8 lines
169 B
CMake
Raw Normal View History

2019-11-11 23:01:05 +01:00
cmake_policy(SET CMP0084 NEW)
set(_findqt_testing TRUE)
find_package(Qt MODULE)
if(_findqt_included)
message(FATAL_ERROR "FindQt.cmake erroneously included")
endif()