diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 17:40:49 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-12 18:27:40 +0200 |
commit | b170d8e088ef9184c6730dfea87670a51753d6f0 (patch) | |
tree | d58e55ad29faf8ae8d0be0c9af77ca6463d648c9 | |
parent | 9edb5f57127489dec4b7cbdc1e60920e6002abea (diff) | |
download | extra-cmake-modules-b170d8e088ef9184c6730dfea87670a51753d6f0.tar.gz extra-cmake-modules-b170d8e088ef9184c6730dfea87670a51753d6f0.tar.bz2 |
API dox: have QtVersionOption rst docs also in bracket comments
NO_CHANGELOG
-rw-r--r-- | modules/QtVersionOption.cmake | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/modules/QtVersionOption.cmake b/modules/QtVersionOption.cmake index 1390f9db..ea37da22 100644 --- a/modules/QtVersionOption.cmake +++ b/modules/QtVersionOption.cmake @@ -1,24 +1,22 @@ -#.rst: -# QtVersionOption -# --------------- -# -# Adds a build option to select the major Qt version if necessary, -# that is, if the major Qt version has not yet been determined otherwise -# (e.g. by a corresponding find_package() call). -# -# This module is typically included by other modules requiring knowledge -# about the major Qt version. -# -# ``QT_MAJOR_VERSION`` is defined to either be "5" or "6". -# -# -# Since 5.82.0. - -#============================================================================= # SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org> # # SPDX-License-Identifier: BSD-3-Clause +#[=======================================================================[.rst: +QtVersionOption +--------------- + +Adds a build option to select the major Qt version if necessary, +that is, if the major Qt version has not yet been determined otherwise +(e.g. by a corresponding ``find_package()`` call). +This module is typically included by other modules requiring knowledge +about the major Qt version. + +``QT_MAJOR_VERSION`` is defined to either be "5" or "6". + +Since 5.82.0. +#]=======================================================================] + if (DEFINED QT_MAJOR_VERSION) return() endif() |