From d210cd26952a4d4441223809dc259fcf6eaff5fd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 6 Mar 2023 12:07:10 +0000 Subject: [PATCH] Modernize finding system tools and remove checks for unused tools. --- CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dcdf0816f..e0aab3e92 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -247,10 +247,8 @@ if(LDFLAGS) endif() # Search for the following programs -find_program(GREP grep) -find_program(SH sh) -find_program(CHGRP chgrp) -find_program(CHMOD chmod) +find_program(CHGRP "chgrp" REQUIRED) +find_program(CHMOD "chmod" REQUIRED) # If a INSTDIR was passed in to CMake, use it as the install prefix, otherwise set the default install prefix to the anope directory under the user's home directory if(INSTDIR)