1
0
Fork 0

Add missing REQUIRED when finding QtThemeSupport

This commit is contained in:
Ilya Fedin 2020-10-12 16:30:39 +04:00 committed by John Preston
parent e5af534f94
commit 18bf821e50

View file

@ -34,6 +34,7 @@ if (DESKTOP_APP_USE_PACKAGED)
find_library(Qt5ThemeSupport_LIBRARY
NAMES
Qt5ThemeSupport
REQUIRED
)
find_path(Qt5ThemeSupport_INCLUDE_DIR
@ -43,6 +44,7 @@ if (DESKTOP_APP_USE_PACKAGED)
${Qt5Gui_INCLUDE_DIRS}
PATH_SUFFIXES
QtThemeSupport/${Qt5Gui_VERSION}
REQUIRED
)
target_link_libraries(external_qt