summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly
diff options
context:
space:
mode:
authorJulien Marrec <julien.marrec@gmail.com>2020-03-11 17:25:28 (GMT)
committerBrad King <brad.king@kitware.com>2020-03-11 17:56:10 (GMT)
commite672db628b0785a1e3af85d2af68ad82316f303e (patch)
tree557a8e58ac8e25b56bee7631a155f4b2aefd7abd /Tests/CMakeOnly
parentc7c6e103d1209f7e29cb2909cf342be75478f304 (diff)
downloadCMake-e672db628b0785a1e3af85d2af68ad82316f303e.zip
CMake-e672db628b0785a1e3af85d2af68ad82316f303e.tar.gz
CMake-e672db628b0785a1e3af85d2af68ad82316f303e.tar.bz2
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
Diffstat (limited to 'Tests/CMakeOnly')
-rw-r--r--Tests/CMakeOnly/AllFindModules/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
index a53e441..49a4041 100644
--- a/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
+++ b/Tests/CMakeOnly/AllFindModules/CMakeLists.txt
@@ -86,7 +86,7 @@ foreach(VTEST ALSA ARMADILLO BZIP2 CUPS CURL EXPAT FREETYPE GETTEXT GIT HG
endforeach()
foreach(VTEST BISON Boost CUDA DOXYGEN FLEX GIF GTK2
- HDF5 JPEG LibArchive OPENSCENEGRAPH RUBY SWIG Protobuf)
+ HDF5 JPEG LibArchive OPENSCENEGRAPH Ruby RUBY SWIG Protobuf)
check_version_string(${VTEST} ${VTEST}_VERSION)
endforeach()