Commit 831db7ed authored by Simon Depiets's avatar Simon Depiets

Using Qt5Core rather than Qt5Widget for the version check

parent 693cf9d9
......@@ -70,11 +70,11 @@ find_path(Qt5ThemeSupport_INCLUDE_DIR
NAMES
QtThemeSupport/private/qgenericunixthemes_p.h
PATH_SUFFIXES
QtThemeSupport/${Qt5Widgets_VERSION}/
QtThemeSupport/${Qt5Core_VERSION}/
)
if (Qt5ThemeSupport_INCLUDE_DIR)
set(Qt5ThemeSupport_VERSION ${Qt5Widgets_VERSION})
set(Qt5ThemeSupport_VERSION ${Qt5Core_VERSION})
else()
# Use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
......
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