Peter Kokot
f9fec08e69
FindTclsh: Add Tclsh_VERSION
...
This deprecates the TCLSH_VERSION_STRING result variable.
Issue: #27088
2025-08-22 23:10:09 +02:00
Brad King
7d7b91717c
Merge topic 'patch-FindPkgConfig-version'
...
13366e3045 FindPkgConfig: Add PkgConfig_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11089
2025-08-20 10:10:34 -04:00
Brad King
4dfc6d200b
Merge topic 'patch-FindwxWidgets-version'
...
559500bede FindwxWidgets: Add wxWidgets_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11088
2025-08-20 10:06:12 -04:00
Brad King
2ec20fc2f8
Merge topic 'patch-FindHg-version'
...
e463cf3283 FindHg: Add Hg_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11083
2025-08-18 10:20:21 -04:00
Peter Kokot
13366e3045
FindPkgConfig: Add PkgConfig_VERSION
...
This deprecates the PKG_CONFIG_VERSION_STRING result variable.
Issue: #27088
2025-08-17 07:31:44 +02:00
Peter Kokot
559500bede
FindwxWidgets: Add wxWidgets_VERSION
...
This deprecates the wxWidgets_VERSION_STRING result variable.
Issue: #27088
2025-08-17 07:17:12 +02:00
Brad King
0aec7864f6
Merge topic 'patch-FindSubversion-version'
...
051b670e51 FindSubversion: Add Subversion_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11053
2025-08-15 09:30:14 -04:00
Peter Kokot
e463cf3283
FindHg: Add Hg_VERSION
...
This deprecates the HG_VERSION_STRING result variable.
Issue: #27088
2025-08-15 05:34:56 +02:00
Brad King
5a09f5bd8e
Merge topic 'patch-FindDevIL-version'
...
0e00166462 FindDevIL: Add DevIL_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11072
2025-08-14 09:06:41 -04:00
Brad King
b30241272b
Merge topic 'patch-FindPerl-version'
...
4f1732d96b FindPerl, FindPerlLibs: Add Perl_VERSION and PerlLibs_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11054
2025-08-14 08:27:25 -04:00
Brad King
6065c2d845
Merge topic 'patch-FindGnuTLS-version'
...
2f8b837a30 FindGnuTLS: Add GnuTLS_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11061
2025-08-14 08:25:25 -04:00
Peter Kokot
051b670e51
FindSubversion: Add Subversion_VERSION
...
This deprecates the Subversion_VERSION_SVN result variable.
Issue: #27088
2025-08-14 07:25:00 +02:00
Peter Kokot
0e00166462
FindDevIL: Add DevIL_VERSION
...
This module now provides a DevIL_VERSION result variable and supports
the `<version>` argument in the find_package() call. Version range can
be also specified.
Fixes : #26858
2025-08-12 07:17:58 +02:00
Peter Kokot
9fb240da85
FindQt4: Clarify the Qt4_FOUND variable
...
QT4_FOUND variable became deprecated in CMake 2.8.11 where Qt4_FOUND was
introduced.
2025-08-10 10:03:50 +02:00
Peter Kokot
2f8b837a30
FindGnuTLS: Add GnuTLS_VERSION
...
This deprecates the GNUTLS_VERSION result variable.
Instead of setting the version from pkg-config, the header files can be
used. GnuTLS versions 2.7.2 and later define the GNUTLS_VERSION in
`<gnutls/gnutls.h>` header. Earlier versions defined LIBGNUTLS_VERSION.
If finding such string in header is not successful, fallback to version
from pkg-config is used.
Issue: #27088
2025-08-10 09:39:44 +02:00
Peter Kokot
4f1732d96b
FindPerl, FindPerlLibs: Add Perl_VERSION and PerlLibs_VERSION
...
This deprecates the PERL_VERSION_STRING result variable.
Issue: #27088
2025-08-08 22:22:03 +02:00
Peter Kokot
30dddb4b11
FindOpenSceneGraph: Add OpenSceneGraph_VERSION
...
This deprecates the OPENSCENEGRAPH_VERSION result variable.
Issue: #27088
2025-08-06 23:52:10 +02:00
Brad King
0e48bf825d
Merge topic 'patch-FindTIFF-version'
...
8076414d2d FindTIFF: Add TIFF_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11021
2025-08-06 09:48:09 -04:00
Brad King
ddb014d0aa
Merge topic 'patch-FindOpenSSL-version'
...
5503235b4d FindOpenSSL: Add OpenSSL_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11020
2025-08-06 09:45:48 -04:00
Brad King
142ae708fb
Merge topic 'patch-FindGettext-version'
...
6903ba415f FindGettext: Add Gettext_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11019
2025-08-06 09:43:36 -04:00
Brad King
8d79307408
Merge topic 'patch-FindDoxygen-version'
...
15ffe27752 FindDoxygen: Add Doxygen_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11018
2025-08-06 09:37:50 -04:00
Peter Kokot
8076414d2d
FindTIFF: Add TIFF_VERSION
...
This deprecates the TIFF_VERSION_STRING result variable.
Issue: #27088
2025-08-05 06:25:34 +02:00
Peter Kokot
5503235b4d
FindOpenSSL: Add OpenSSL_VERSION
...
This deprecates the OPENSSL_VERSION result variable.
Issue: #27088
2025-08-04 20:58:49 +02:00
Peter Kokot
6903ba415f
FindGettext: Add Gettext_VERSION
...
This deprecates the GETTEXT_VERSION_STRING result variable.
Issue: #27088
2025-08-04 20:56:07 +02:00
Peter Kokot
15ffe27752
FindDoxygen: Add Doxygen_VERSION
...
This deprecates the DOXYGEN_VERSION result variable.
Issue: #27088
2025-08-04 20:54:32 +02:00
Peter Kokot
d4c3a6595c
FindArmadillo: Add Armadillo_VERSION
...
This deprecates the following result variables:
* ARMADILLO_VERSION_STRING
* ARMADILLO_VERSION_MAJOR
* ARMADILLO_VERSION_MINOR
* ARMADILLO_VERSION_PATCH
* ARMADILLO_VERSION_NAME (added the Armadillo_VERSION_NAME as an
alternative).
When Armadillo is found in config mode, the `Armadillo_VERSION` is
already set automatically:
find_package(Armadillo CONFIG)
Issue: #27088
2025-08-04 20:50:01 +02:00
Brad King
a1c1b8222b
Merge topic 'patch-FindCups-version'
...
5e7bb96b81 FindCups: Add Cups_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11000
2025-08-04 10:37:33 -04:00
Brad King
2ce48479c4
Merge topic 'patch-FindLibLZMA-version'
...
08fc190c03 FindLibLZMA: Add LibLZMA_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !11001
2025-08-04 10:35:18 -04:00
Peter Kokot
08fc190c03
FindLibLZMA: Add LibLZMA_VERSION
...
This deprecates the LIBLZMA_VERSION result variable.
Issue: #27088
2025-08-03 22:58:45 +02:00
Peter Kokot
5e7bb96b81
FindCups: Add Cups_VERSION
...
This deprecates the CUPS_VERSION_STRING result variable.
Issue: #27088
2025-08-03 22:47:00 +02:00
Peter Kokot
faca50bd3f
FindSDL*: Add <PackageName>_VERSION
...
This adds the `<PackageName>_VERSION` result variables and deprecates
the `<PackageName>_VERSION_STRING` result variables for the following
modules:
* FindSDL_gfx
* FindSDL_image
* FindSDL_mixer
* FindSDL_net
* FindSDL_sound
* FindSDL_ttf
Issue: #27088
2025-08-02 03:54:18 +02:00
Peter Kokot
7e6634ef67
FindLTTngUST: Add LTTngUST_VERSION
...
This deprecates the LTTNGUST_VERSION_STRING result variable.
Issue: #27088
2025-07-31 21:02:26 +02:00
Peter Kokot
5f2fdb7cbf
FindPNG: Add PNG_VERSION
...
This deprecates the PNG_VERSION_STRING result variable.
Additionally, the documentation has been adjusted and synced with other
similar find modules:
- Added "Deprecated Variables" section and deprecated versions.
- Added intro code block how to use this module.
Issue: #27088
2025-07-31 21:02:05 +02:00
Peter Kokot
dd714b4b99
FindLibXslt: Add LibXslt_VERSION
...
This deprecates the LIBXSLT_VERSION_STRING result variable.
Issue: #27088
2025-07-31 20:59:21 +02:00
Peter Kokot
1b956832d8
FindLibXml2: Add LibXml2_VERSION
...
This deprecates the LIBXML2_VERSION_STRING result variable.
Issue: #27088
2025-07-31 20:57:44 +02:00
Peter Kokot
2ce689eae2
FindJasper: Add Jasper_VERSION
...
This deprecates the JASPER_VERSION_STRING result variable.
Issue: #27088
2025-07-31 20:56:41 +02:00
Peter Kokot
58d61f6846
FindFreetype: Add Freetype_VERSION
...
This deprecates the FREETYPE_VERSION_STRING result variable.
Issue: #27088
2025-07-31 20:55:15 +02:00
Peter Kokot
1e61580bd3
FindEXPAT: Add EXPAT_VERSION
...
This deprecates the EXPAT_VERSION_STRING result variable, which was
previously not documented.
Issue: #27088
2025-07-31 20:48:54 +02:00
Brad King
43a86ba605
Merge topic 'patch-FindPostgreSQL-version'
...
4d4d10e95d FindPostgreSQL: Add PostgreSQL_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Reviewed-by: Vito Gamberini <vito.gamberini@kitware.com >
Merge-request: !10987
2025-07-31 11:02:49 -04:00
Peter Kokot
4d4d10e95d
FindPostgreSQL: Add PostgreSQL_VERSION
...
This deprecates the PostgreSQL_VERSION_STRING result variable.
Issue: #27088
2025-07-30 03:02:52 +02:00
Peter Kokot
5df1d3f036
FindALSA: Add ALSA_VERSION
...
This deprecates the ALSA_VERSION_STRING result variable, which was
previously documented up to CMake 3.11 and then removed from the docs
due to refactorings.
Issue: #27088
2025-07-30 01:10:08 +02:00
Peter Kokot
50f41bdf59
FindBZip2: Add BZip2_VERSION
...
This deprecates the BZIP2_VERSION result variable.
Issue: #27088
2025-07-27 04:54:27 +02:00
Brad King
9e3b559b6a
Tests: Update cmake_minimum_required versions to 3.10
2024-10-03 14:18:16 -04:00
Michael Hirsch
9e3f1723ff
Find{BZip2,LibLZMA,ZLIB}: use *_VERSION as modern CMake
...
The old *_VERSION_STRING is silently left set for backward compat.
2022-11-07 16:22:31 -05:00
makise-homura
b05d297964
Tests: handle a case when hg executable is broken
...
OS Elbrus 6.0-rc1 to rc3 have hg executable broken
because of python2 and python3 module directories conflict.
Here, we avoid hg related tests if such case is detected.
2022-06-28 11:12:04 -04:00
Julien Marrec
e672db628b
FindRuby: Rename variables to match case of module name
...
Use recommended case for variable names, i.e. matching name of the
module as passed to `find_package`.
For backwards compatibility, the upper case versions of both input and
output variables are used and defined when appropriate. Skip this for
the _FOUND variable because FPHSA already does it.
This follows the approach from commit a7b09e7f43 (FindProtobuf: Rename
variables to match case of module name, 2016-03-01, v3.6.0-rc1~273^2).
Issue: #20370
2020-03-11 13:56:10 -04:00
Mateusz Loskot
1f6649b7d1
FindJPEG: Add version detection and associated test update and docs
2018-04-17 22:53:26 +02:00
Brad King
aaeb01ef9b
Merge topic 'fix-test-all-find-modules'
...
cda401fe Tests: Simplify CMakeOnly.AllFindModules policy settings
1a2ede17 Tests: Fix FindModulesExecuteAll when KDE4 is installed
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !736
2017-04-24 09:34:03 -04:00
Brad King
cda401fec4
Tests: Simplify CMakeOnly.AllFindModules policy settings
2017-04-21 10:11:49 -04:00
Brad King
fe21ccc486
Tests: Optionally skip local packages versions in CMakeOnly.AllFindModules
...
Some machines have incomplete or otherwise broken installations of
specific packages. Allow local configuration to prevent the test from
failing on such packages if the version number cannot be extracted.
2017-04-03 16:04:17 -04:00