mirror of https://github.com/qt/qtgrpc.git
CMake: Don't build benchmark if qtprotobufgen is missing
Amends ed50bef7d1
Change-Id: I74e82a0b686aa5efb737202305801a49f5b811e4
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
parent
84f941cec0
commit
93a3c6b5ae
|
|
@ -1,4 +1,6 @@
|
||||||
# Copyright (C) 2024 The Qt Company Ltd.
|
# Copyright (C) 2024 The Qt Company Ltd.
|
||||||
# SPDX-License-Identifier: BSD-3-Clause
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
add_subdirectory(protobuf)
|
if(QT_FEATURE_qtprotobufgen)
|
||||||
|
add_subdirectory(protobuf)
|
||||||
|
endif()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue