Depend designer plugin on Qt5UiPlugin_FOUND, when needed

parent 80cc4bc1
......@@ -51,6 +51,9 @@ if(NOT Qt5Designer_VERSION_STRING VERSION_LESS 5.5.0)
# for some reason, Qt5UiPlugin does not set its _INCLUDE_DIRS variable. Fill it manually
get_target_property(Qt5UiPlugin_INCLUDE_DIRS Qt5::UiPlugin INTERFACE_INCLUDE_DIRECTORIES)
endif()
set(DesignerPluginDeps_FOUND ${Qt5UiPlugin_FOUND})
else()
set(DesignerPluginDeps_FOUND ${Qt5Designer_FOUND})
endif()
......
if (NOT Qt5Designer_FOUND)
if (NOT DesignerPluginDeps_FOUND)
return()
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment