mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Removing FindQt.cmake gives Qt upstream a path forward to export its own QtConfig.cmake files which can be found by find_package() without having to explicitly specify CONFIG. Projects that still want to use Qt3/4 can call find_package(Qt[34]), include(FindQt), or add FindQt.cmake to their CMAKE_MODULE_PATH.
8 lines
165 B
CMake
8 lines
165 B
CMake
cmake_policy(SET CMP0084 OLD)
|
|
set(_findqt_testing TRUE)
|
|
find_package(Qt MODULE)
|
|
|
|
if(NOT _findqt_included)
|
|
message(FATAL_ERROR "FindQt.cmake not included")
|
|
endif()
|