Skip to content

Commit

Permalink
Add missing REQUIRED when finding QtThemeSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Oct 23, 2020
1 parent e5af534 commit 18bf821
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions external/qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ if (DESKTOP_APP_USE_PACKAGED)
find_library(Qt5ThemeSupport_LIBRARY
NAMES
Qt5ThemeSupport
REQUIRED
)

find_path(Qt5ThemeSupport_INCLUDE_DIR
Expand All @@ -43,6 +44,7 @@ if (DESKTOP_APP_USE_PACKAGED)
${Qt5Gui_INCLUDE_DIRS}
PATH_SUFFIXES
QtThemeSupport/${Qt5Gui_VERSION}
REQUIRED
)

target_link_libraries(external_qt
Expand Down

0 comments on commit 18bf821

Please sign in to comment.