]> git.pld-linux.org Git - packages/cmake.git/blobdiff - cmake-findruby2.patch
- up to 3.22.2
[packages/cmake.git] / cmake-findruby2.patch
index 2f6677fb5187a4f7131bff115203a16577132669..32fa6ef31055589bc0e21f4a861d8c5bb3c622c6 100644 (file)
@@ -2,10 +2,10 @@ diff -urNp -x '*.orig' cmake-3.17.2.org/Modules/FindRuby.cmake cmake-3.17.2/Modu
 --- cmake-3.17.2.org/Modules/FindRuby.cmake    2021-04-12 22:19:23.761018307 +0200
 +++ cmake-3.17.2/Modules/FindRuby.cmake        2021-04-12 22:19:24.521040438 +0200
 @@ -207,6 +207,7 @@ if( "${Ruby_FIND_VERSION_SHORT_NODOT}" G
-   find_path(RUBY_CONFIG_INCLUDE_DIR
+   find_path(Ruby_CONFIG_INCLUDE_DIR
      NAMES ruby/config.h  config.h
      HINTS
-+      ${RUBY_HDR_DIR}
-       ${RUBY_HDR_DIR}/${RUBY_ARCH}
-       ${RUBY_ARCH_DIR}
-       ${RUBY_ARCHHDR_DIR}
++      ${Ruby_HDR_DIR}
+       ${Ruby_HDR_DIR}/${Ruby_ARCH}
+       ${Ruby_ARCH_DIR}
+       ${Ruby_ARCHHDR_DIR}
This page took 0.06544 seconds and 4 git commands to generate.