File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ find_package_handle_standard_args(Qt
40
40
VERSION_VAR Qt${Qt_FIND_VERSION_MAJOR}_VERSION
41
41
)
42
42
43
- foreach (component IN LISTS Qt_FIND_COMPONENTS ITEMS "" )
44
- mark_as_advanced (Qt${Qt_FIND_VERSION_MAJOR}${component}_DIR )
43
+ # Mark all variables as advanced, except Qt6_DIR.
44
+ # The latter can be helpful on some systems.
45
+ # See: https://github.com/bitcoin/bitcoin/issues/32536.
46
+ foreach (component IN LISTS Qt_FIND_COMPONENTS )
47
+ mark_as_advanced (
48
+ Qt${Qt_FIND_VERSION_MAJOR}${component}_DIR
49
+ Qt${Qt_FIND_VERSION_MAJOR}${component}Tools_DIR
50
+ )
45
51
endforeach ()
52
+ mark_as_advanced (
53
+ QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH
54
+ QT_ADDITIONAL_PACKAGES_PREFIX_PATH
55
+ XKB_INCLUDE_DIR
56
+ XKB_LIBRARY
57
+ )
You can’t perform that action at this time.
0 commit comments