From 8fea95319bcaac741faf93bd66b3a1838b56a418 Mon Sep 17 00:00:00 2001 From: Nikita Nemkin Date: Thu, 12 Nov 2020 13:40:33 +0500 Subject: Help: Add `.. versionadded` directives to module docs Issue: #19715 --- Modules/FindJPEG.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Modules/FindJPEG.cmake') diff --git a/Modules/FindJPEG.cmake b/Modules/FindJPEG.cmake index 632fc9aa0f..3f243ded57 100644 --- a/Modules/FindJPEG.cmake +++ b/Modules/FindJPEG.cmake @@ -10,6 +10,8 @@ Find the Joint Photographic Experts Group (JPEG) library (``libjpeg``) Imported targets ^^^^^^^^^^^^^^^^ +.. versionadded:: 3.12 + This module defines the following :prop_tgt:`IMPORTED` targets: ``JPEG::JPEG`` @@ -27,7 +29,8 @@ This module will set the following variables in your project: ``JPEG_LIBRARIES`` the libraries needed to use JPEG. ``JPEG_VERSION`` - the version of the JPEG library found + .. versionadded:: 3.12 + the version of the JPEG library found Cache variables ^^^^^^^^^^^^^^^ @@ -41,6 +44,9 @@ The following cache variables may also be set: ``JPEG_LIBRARY_DEBUG`` where to find the JPEG library (debug). +.. versionadded:: 3.12 + Debug and Release variand are found separately. + Obsolete variables ^^^^^^^^^^^^^^^^^^ -- cgit v1.2.1