summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-03-06 12:07:10 +0000
committerSadie Powell <sadie@witchery.services>2023-03-13 13:52:56 +0000
commitd210cd26952a4d4441223809dc259fcf6eaff5fd (patch)
treee0ea6e65956901bff115f6b2c9f646bb93201399 /CMakeLists.txt
parentfc8e6ee3385183496151e8e9913b18ea37cc5bf3 (diff)
Modernize finding system tools and remove checks for unused tools.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files 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)