forked from pool/cmake
Simon Lees
787f614237
- update to 3.30.1 * Tests: Fix RunCMake.ExternalProject when git is not available + Restore support for exporting INTERFACE with missing dependencies * FindMatlab: Restore support for finding Matlab without any languages * libuv: backport IDNA input/output hardening fixes * IntelLLVM: Update toolchain layout for 2024+ versions * Evaluation of TRANSITIVE_LINK_PROPERTIES isn't considered a usage - Drop cmake-fix-test-without-git.patch which is part of 3.30.1 OBS-URL: https://build.opensuse.org/request/show/1188712 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=596
14 lines
630 B
Diff
14 lines
630 B
Diff
Index: cmake-3.26.2/Modules/FindRuby.cmake
|
|
===================================================================
|
|
--- cmake-3.26.2.orig/Modules/FindRuby.cmake
|
|
+++ cmake-3.26.2/Modules/FindRuby.cmake
|
|
@@ -313,7 +313,7 @@ if(Ruby_EXECUTABLE AND NOT Ruby_VERSION_
|
|
_RUBY_CONFIG_VAR("sitelibdir" Ruby_SITELIB_DIR)
|
|
|
|
# vendor_ruby available ?
|
|
- execute_process(COMMAND ${Ruby_EXECUTABLE} -r vendor-specific -e "print 'true'"
|
|
+ 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)
|