summaryrefslogtreecommitdiff
path: root/cmake/modules/FindRuby.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindRuby.cmake')
-rw-r--r--cmake/modules/FindRuby.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindRuby.cmake b/cmake/modules/FindRuby.cmake
index 17ad7ef..827a7a6 100644
--- a/cmake/modules/FindRuby.cmake
+++ b/cmake/modules/FindRuby.cmake
@@ -112,7 +112,7 @@ IF(RUBY_EXECUTABLE AND NOT RUBY_VERSION_MAJOR)
_RUBY_CONFIG_VAR("sitelibdir" RUBY_SITELIB_DIR)
# vendor_ruby available ?
- EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless Config::CONFIG['vendorarchdir'].nil?"
+ EXECUTE_PROCESS(COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print 'true' unless RbConfig::CONFIG['vendorarchdir'].nil?"
OUTPUT_VARIABLE RUBY_HAS_VENDOR_RUBY ERROR_QUIET)
IF(RUBY_HAS_VENDOR_RUBY)