patch FindQAD.cmake for empty qt list

This commit is contained in:
2020-09-14 17:10:37 +03:00
parent 5c00f1b9c5
commit 19e3b73a85

View File

@@ -18,6 +18,10 @@ These targets include directories and dependencies
cmake_policy(SET CMP0011 NEW) # don`t affect includer policies
cmake_policy(SET CMP0020 NEW) # Automatically link Qt executables to qtmain target on Windows
if(NOT _QT_VERSIONS_)
message(WARNING "No qt found, please install qt")
return()
endif()
if(NOT BUILDING_qad)
find_package(PIP QUIET)
include(QtWraps)