Skip to content

Commit 511a6b1

Browse files
committed
Update Ruby compatibility message
1 parent 1dd0281 commit 511a6b1

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/bindings/ruby/CMakeLists.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,15 @@ option(SILENCE_RUBY_VERSION_WARNING
4848

4949
if (${RUBY_VERSION} VERSION_GREATER 2.6.9 AND ${SWIG_VERSION} VERSION_LESS 4.0.3)
5050
if (NOT ${SILENCE_RUBY_VERSION_WARNING})
51-
message(WARNING "
51+
message(WARNING "\
5252
Ruby 2.7.0+ detected, building the libopenshot Ruby API bindings \
53-
requires a pre-release version of SWIG 4.0.3 with this commit: \
54-
https://github.com/swig/swig/commit/5542cc228ad10bdc5c91107afb77c808c43bf2a4")
55-
message(STATUS "
56-
To disable this warning, add -DSILENCE_RUBY_VERSION_WARNING:BOOL=1 to the cmake \
57-
command line, or enable the option in the CMake GUI.")
53+
requires either SWIG 4.0.3 or an older version patched with this commit: \
54+
https://github.com/swig/swig/commit/5542cc228ad10bdc5c91107afb77c808c43bf2a4 \
55+
(Recent Fedora and Ubuntu distro packages of SWIG 4.0.1 have already been \
56+
patched.)")
57+
message(STATUS "To disable the previous warning, add \
58+
-DSILENCE_RUBY_VERSION_WARNING:BOOL=1 to the cmake command line, \
59+
or enable the option in the CMake GUI.")
5860
endif()
5961
endif()
6062

0 commit comments

Comments
 (0)