mirror of
https://github.com/crystalidea/qt6windows7.git
synced 2025-07-04 16:25:27 +08:00
qt 6.5.1 original
This commit is contained in:
@ -0,0 +1,21 @@
|
||||
# Copyright (C) 2022 The Qt Company Ltd.
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
|
||||
|
||||
# The module finds its dependencies
|
||||
find_package(Qt6 6.0.0
|
||||
COMPONENTS Core
|
||||
OPTIONAL_COMPONENTS DoesNotExist
|
||||
)
|
||||
|
||||
if (NOT Qt6_FOUND)
|
||||
message(SEND_ERROR "Qt6 umbrella package not found!")
|
||||
endif()
|
||||
|
||||
if (NOT Qt6Core_FOUND)
|
||||
message(SEND_ERROR "Qt6Core package not found!")
|
||||
endif()
|
||||
|
||||
if (Qt6DoesNotExist_FOUND)
|
||||
message(SEND_ERROR "Non-existent package found!")
|
||||
endif()
|
Reference in New Issue
Block a user