- update to 4.0.3 * CUDA/Clang: Fix list of architectures supported by Clang < 20.1, Reorder the logic for setting supported archs, add archs supported by Clang 21 * gcc: support `import std` * experimental: recycle the `import std` UUID * Clang/CXXImportStd: support `-stdlib=libstdc++` * experimental/CXXModules: recycle the UUID * FindPython: rely on ABIFLAGS on Windows for ABI profile * FindPython: Avoid implicit link library on Windows - Replace usage of %jobs for reproducible builds (boo#1237231) - fix GUI build on openSUSE Leap 15.x - update to 4.0.1 * get_filename_component: Restore lexical preprocessing of REALPATH for compat * find_package: Restore component requirements in nested calls * Source: Include specific CoreFoundation headers instead of umbrella header - update to CMake 4.0 * The "CMAKE_POLICY_VERSION_MINIMUM" variable was added to help packagers and end users try to configure existing projects that have not been updated to work with supported CMake versions. * The "$<PATH>" generator expression gained the "NATIVE_PATH" operation to convert a CMake path into a native one. * Compatibility with versions of CMake older than 3.5 has been removed. * The "cmake --link-no-warning-as-error" option was added to suppress the effects of the "LINK_WARNING_AS_ERROR" target property and "CMAKE_LINK_WARNING_AS_ERROR" variable. * The "target_link_libraries()" command now supports the "LINKER:" prefix. - adjust cmake-fix-ruby-test.patch * fix FindCUDAToolkit doesn't find CUPTI in CUDA installations from runfile * fix file(MAKE_DIRECTORY): creates RESULT and <variable> folders * fix Wrong detection of LINKER_PUSHPOP_STATE_SUPPORTED * fix cmake-gui: Invalid error message "Error: could not load cache" * fix build with curl 8.13.0 (boo#1241036) - Switch cmake-gui builds to Qt6. - Add BuildRequires: qt6-macro to locate qhelpgenerator (in %_qt6_libexecdir) and add corresponding path to env PATH. - Drop use of deprecated %suse_update_desktop_file macro and BuildRequires: update-desktop-files needed solely for this. OBS-URL: https://build.opensuse.org/request/show/1286213 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=633
14 lines
641 B
Diff
14 lines
641 B
Diff
Index: cmake-4.0.0/Modules/FindRuby.cmake
|
|
===================================================================
|
|
--- cmake-4.0.0.orig/Modules/FindRuby.cmake
|
|
+++ cmake-4.0.0/Modules/FindRuby.cmake
|
|
@@ -286,7 +286,7 @@ if (Ruby_EXECUTABLE AND NOT Ruby_EXECUTA
|
|
_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)
|