mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 10:20:56 -06:00
FindRuby: Improve order of library name alternatives
Prefer long versions over short versions. Prefer dotted versions over no-dot versions.
This commit is contained in:
@@ -389,12 +389,12 @@ endif ()
|
||||
set(_Ruby_POSSIBLE_LIB_NAMES
|
||||
ruby
|
||||
ruby-static
|
||||
ruby-${Ruby_VERSION}
|
||||
ruby${_Ruby_VERSION_NODOT}
|
||||
ruby${_Ruby_VERSION_NODOT_ZERO_PATCH}
|
||||
ruby-${_Ruby_VERSION_SHORT}
|
||||
ruby${_Ruby_VERSION_SHORT}
|
||||
ruby${_Ruby_VERSION_SHORT_NODOT}
|
||||
ruby${_Ruby_VERSION_NODOT}
|
||||
ruby-${_Ruby_VERSION_SHORT}
|
||||
ruby-${Ruby_VERSION}
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
|
||||
Reference in New Issue
Block a user