Browse Source

Merge topic 'FindRuby-restore-include-path' into release-3.18

6959744131 FindRuby: Restore compatibility variable RUBY_INCLUDE_PATH

Acked-by: Kitware Robot <[email protected]>
Merge-request: !5109
Brad King 5 years ago
parent
commit
cb1f2cf093
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Modules/FindRuby.cmake

+ 1 - 2
Modules/FindRuby.cmake

@@ -50,7 +50,7 @@ This module will set the following variables in your project:
 
 Also:
 
-``Ruby_INCLUDE_PATH``
+``RUBY_INCLUDE_PATH``
   same as Ruby_INCLUDE_DIRS, only provided for compatibility reasons, don't use it
 
 Hints
@@ -493,7 +493,6 @@ foreach(Camel
     Ruby_VERSION_MAJOR
     Ruby_VERSION_MINOR
     Ruby_VERSION_PATCH
-    Ruby_INCLUDE_PATH
 
     Ruby_ARCH_DIR
     Ruby_ARCH