summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/find_package/CMP0084-NEW.cmake
blob: 68fd6cff68972ac1881e04fc762ea73ac7dc08c9 (plain)
1
2
3
4
5
6
7
cmake_policy(SET CMP0084 NEW)
set(_findqt_testing TRUE)
find_package(Qt MODULE)

if(_findqt_included)
  message(FATAL_ERROR "FindQt.cmake erroneously included")
endif()