mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 16:32:47 +00:00
cmake: Fix FindQt module
The `find_package(Qt .. MODULE REQUIRED COMPONENTS ...)` call must treat any missing component as a fatal error.
This commit is contained in:
parent
2eaf701bc0
commit
c55584575a
@ -36,7 +36,7 @@ unset(_qt_homebrew_prefix)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
find_package_handle_standard_args(Qt
|
||||
REQUIRED_VARS Qt${Qt_FIND_VERSION_MAJOR}_DIR
|
||||
REQUIRED_VARS Qt${Qt_FIND_VERSION_MAJOR}_DIR Qt${Qt_FIND_VERSION_MAJOR}_FOUND
|
||||
VERSION_VAR Qt${Qt_FIND_VERSION_MAJOR}_VERSION
|
||||
)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user