aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMDeprecationSettings.cmake
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2022-06-12 16:00:55 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2022-06-12 16:00:55 +0200
commit8307b90e8136e7c3adc6d0419f6eda0d58b27614 (patch)
treebe9db0c4e70741754cbb0b0c3e72ef3ad60fb768 /modules/ECMDeprecationSettings.cmake
parent1ea9e4249f332e481a4940c63b3868504e8b6a3e (diff)
downloadextra-cmake-modules-8307b90e8136e7c3adc6d0419f6eda0d58b27614.tar.gz
extra-cmake-modules-8307b90e8136e7c3adc6d0419f6eda0d58b27614.tar.bz2
API dox: improve linking to other modules referenced in text
NO_CHANGELOG
Diffstat (limited to 'modules/ECMDeprecationSettings.cmake')
-rw-r--r--modules/ECMDeprecationSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ECMDeprecationSettings.cmake b/modules/ECMDeprecationSettings.cmake
index 8288cdf0..8570d9b8 100644
--- a/modules/ECMDeprecationSettings.cmake
+++ b/modules/ECMDeprecationSettings.cmake
@@ -12,7 +12,7 @@ deprecated API for QT and KF projects.
This method expects pairs of the identifier and deprecation version.
For the identifier "QT" this functions adds the definition "QT_DISABLE_DEPRECATED_BEFORE" with the given version in a hexadecimal format.
Otherwise the name for the definition is generated using `${IDENTIFIER}_DISABLE_DEPRECATED_BEFORE_AND_AT`,
-following the naming of the generated code in :kde-module:`ECMGenerateExportHeaders`.
+following the naming of the generated code in :module:`ECMGenerateExportHeader`.
The version for the definition can be overwritten, by passing definition name and the deprecation version
as a CMake definition. This allows one to exclude deprecations without having to edit the CMakeLists.txt file.