summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-09-11 16:28:52 +0100
committerSadie Powell <sadie@witchery.services>2020-09-28 15:28:27 +0100
commitf430522b410e43b60eac78c66fecb37400fbac18 (patch)
tree8283030bff71ce627b15555a7e06e3988e47b89d /CMakeLists.txt
parent907aa603801b1d06d34b23ba9e473f4b74db28fe (diff)
Rename things from services to anope.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 3 insertions, 9 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 131447e33..ade4d8eef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -293,13 +293,7 @@ if(MINGW)
endif(MINGW)
if(NOT PROGRAM_NAME)
- # Under Windows, we set the executable name for Anope to be anope
- if(WIN32)
- set(PROGRAM_NAME anope)
- # Under *nix, we set the executable name for Anope to be services
- else(WIN32)
- set(PROGRAM_NAME services)
- endif(WIN32)
+ set(PROGRAM_NAME anope)
endif(NOT PROGRAM_NAME)
# If we are not using Visual Studio, we'll run the following checks
@@ -382,11 +376,11 @@ find_program(SH sh)
find_program(CHGRP chgrp)
find_program(CHMOD chmod)
-# If a INSTDIR was passed in to CMake, use it as the install prefix, otherwise set the default install prefix to the services directory under the user's home directory
+# 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)
set(CMAKE_INSTALL_PREFIX "${INSTDIR}")
elseif(NOT CMAKE_INSTALL_PREFIX)
- set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/services")
+ set(CMAKE_INSTALL_PREFIX "$ENV{HOME}/anope")
endif(INSTDIR)
# Set default paths for various directories if not already defined