mirror of
https://github.com/anope/anope.git
synced 2026-06-28 23:46:39 +02:00
Modernize finding system tools and remove checks for unused tools.
This commit is contained in:
+2
-4
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user