mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-07 14:20:06 -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.
7 lines
135 B
CMake
7 lines
135 B
CMake
set(_findqt_testing TRUE)
|
|
find_package(Qt MODULE)
|
|
|
|
if(NOT _findqt_included)
|
|
message(FATAL_ERROR "FindQt.cmake not included")
|
|
endif()
|