diff options
-rw-r--r-- | CMakeLists.txt | 6 |
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) |