From e4ad3cae3e498cbd627f6c6090c06884959765e5 Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 27 Oct 2020 14:30:11 +0300 Subject: [PATCH] QtWraps.cmake: fint_qt macro now can't find Qt5Hui --- cmake/QtWraps.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/QtWraps.cmake b/cmake/QtWraps.cmake index d22e27a..232ad41 100644 --- a/cmake/QtWraps.cmake +++ b/cmake/QtWraps.cmake @@ -238,6 +238,10 @@ macro(find_qt) list(APPEND _Qt5Modules ${m}) list(APPEND Qt5_INCLUDES ${Qt5${m}_INCLUDE_DIRS}) list(APPEND Qt5_LIBRARIES ${__lib}) + else() + if (NOT _QUIET) + message(FATAL_ERROR "Qt5${m} NOT FOUND") + endif() endif() endforeach() #get_property(_up_dir TARGET Qt5::UiPlugin PROPERTY INTERFACE_INCLUDE_DIRECTORIES)