mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-20 14:10:27 -06:00
FindRuby: Consider ruby names with full nodot version suffixes
This commit is contained in:
committed by
Brad King
parent
0020f69848
commit
238c2b6cb7
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user