diff options
author | Pedro Luis Castedo Cepeda <pedroluis.castedo@upm.es> | 2021-03-25 19:17:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-25 19:30:09 (GMT) |
commit | 238c2b6cb7e96a6024108b3657f7d8bec6fa07f2 (patch) | |
tree | 1ec1760482b739b2056ff061b3691dfc2ab64830 /Modules | |
parent | 0020f69848e6a80858e9b56fc351d7644cff6e4d (diff) | |
download | CMake-238c2b6cb7e96a6024108b3657f7d8bec6fa07f2.zip CMake-238c2b6cb7e96a6024108b3657f7d8bec6fa07f2.tar.gz CMake-238c2b6cb7e96a6024108b3657f7d8bec6fa07f2.tar.bz2 |
FindRuby: Consider ruby names with full nodot version suffixes
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindRuby.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindRuby.cmake b/Modules/FindRuby.cmake index ee07f83..759f57c 100644 --- a/Modules/FindRuby.cmake +++ b/Modules/FindRuby.cmake @@ -435,7 +435,7 @@ endif() # Determine the list of possible names for the ruby library -set(_Ruby_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_Ruby_VERSION_SHORT} ruby${_Ruby_VERSION_SHORT_NODOT} ruby-${_Ruby_VERSION_SHORT} ruby-${Ruby_VERSION}) +set(_Ruby_POSSIBLE_LIB_NAMES ruby ruby-static ruby${_Ruby_VERSION_SHORT} ruby${_Ruby_VERSION_SHORT_NODOT} ruby${_Ruby_NODOT_VERSION} ruby-${_Ruby_VERSION_SHORT} ruby-${Ruby_VERSION}) if(WIN32) set(_Ruby_POSSIBLE_MSVC_RUNTIMES "msvcrt;vcruntime140;vcruntime140_1") |