patch FindQAD.cmake for empty qt list
This commit is contained in:
@@ -18,6 +18,10 @@ These targets include directories and dependencies
|
|||||||
|
|
||||||
cmake_policy(SET CMP0011 NEW) # don`t affect includer policies
|
cmake_policy(SET CMP0011 NEW) # don`t affect includer policies
|
||||||
cmake_policy(SET CMP0020 NEW) # Automatically link Qt executables to qtmain target on Windows
|
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)
|
if(NOT BUILDING_qad)
|
||||||
find_package(PIP QUIET)
|
find_package(PIP QUIET)
|
||||||
include(QtWraps)
|
include(QtWraps)
|
||||||
|
|||||||
Reference in New Issue
Block a user