1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 18:54:47 +02:00

Skip checking for chgrp/chmod on Windows.

This commit is contained in:
Sadie Powell
2023-12-07 15:57:31 +00:00
parent 8d99b3e2d7
commit 84c2f8d3fc
+4 -2
View File
@@ -253,8 +253,10 @@ if(LDFLAGS)
endif()
# Search for the following programs
find_program(CHGRP "chgrp" REQUIRED)
find_program(CHMOD "chmod" REQUIRED)
if(NOT WIN32 AND RUNGROUP)
find_program(CHGRP "chgrp" REQUIRED)
find_program(CHMOD "chmod" REQUIRED)
endif()
# 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)