1 From edbcda19be3720b164e9961226bfa74271f2b9b5 Mon Sep 17 00:00:00 2001
2 From: Andreas Sturmlechner <asturm@gentoo.org>
3 Date: Sat, 27 Nov 2021 11:35:28 +0100
4 Subject: [PATCH] Make sure to disable futile external repo fetching
8 cmake/rinutils_bootstrap.cmake | 2 +-
9 2 files changed, 2 insertions(+), 2 deletions(-)
11 diff --git a/CMakeLists.txt b/CMakeLists.txt
12 index c991dcb47..b0c13d4ff 100644
15 @@ -210,7 +210,7 @@ ENDIF ()
16 # Clone the patsolve repository with the appropriate branch.
17 SET (pats_dir "patsolve")
19 -IF (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/${pats_dir}")
22 COMMAND "git" "clone" "https://github.com/shlomif/patsolve.git" "${pats_dir}"
23 WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
24 diff --git a/cmake/rinutils_bootstrap.cmake b/cmake/rinutils_bootstrap.cmake
25 index 3879bce85..cf2ea168d 100644
26 --- a/cmake/rinutils_bootstrap.cmake
27 +++ b/cmake/rinutils_bootstrap.cmake
28 @@ -5,7 +5,7 @@ MACRO(RINUTILS_SET_UP_FLAGS)
29 SET (rinutils_inc_dir "${rinutils_dir_absolute}/rinutils/include")
30 SET (rinutils_git_tag "0.6.0")
32 - find_package(Rinutils QUIET)
33 + find_package(Rinutils REQUIRED)
34 IF ("${Rinutils_FOUND}")
35 INCLUDE_DIRECTORIES(AFTER ${RINUTILS_INCLUDE_DIR} ${RINUTILS_INCLUDE_DIRS})