diff options
author | ivan tkachenko <me@ratijas.tk> | 2020-07-01 15:56:19 +0300 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2020-07-01 13:21:05 +0000 |
commit | ada528dc4b71cb5cc16902aea2b9e16b3f4b53f2 (patch) | |
tree | c645c40b1460b8609cc73d1089b01cbbc76bf2c5 | |
parent | 724e1b1b93926c4722d2f57933d114a351eb9c48 (diff) | |
download | extra-cmake-modules-ada528dc4b71cb5cc16902aea2b9e16b3f4b53f2.tar.gz extra-cmake-modules-ada528dc4b71cb5cc16902aea2b9e16b3f4b53f2.tar.bz2 |
Fix Sphinx warning about cmake code blockv5.72.0-rc1v5.72.0
Lexer for CMake could not parse this broken grammar,
because it is ".cmake.in", not just ".cmake".
CMake itself solves this problems by declaring such code blocks
as generic "::" blocks instead. For example, take a look at the
last code block at CMakePackageConfigHelpers help page:
- https://cmake.org/cmake/help/v3.18/module/CMakePackageConfigHelpers.html#example-generating-package-files
- https://github.com/Kitware/CMake/blob/0464298956a204578aa8421ca0b84c089a97e0aa/Modules/CMakePackageConfigHelpers.cmake#L208
-rw-r--r-- | modules/ECMSetupQtPluginMacroNames.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMSetupQtPluginMacroNames.cmake b/modules/ECMSetupQtPluginMacroNames.cmake index 9612f462..e4a03ba5 100644 --- a/modules/ECMSetupQtPluginMacroNames.cmake +++ b/modules/ECMSetupQtPluginMacroNames.cmake @@ -86,7 +86,7 @@ # and that way will ensure that in the 3rd-party plugin's buildsystem # automoc is instructed as well as needed: # -# .. code-block:: cmake +# :: # # @PACKAGE_SETUP_AUTOMOC_VARIABLES@ # |