From a5aae4f41dce2b51b6f686a4813d3bfec42a9f76 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 2 Apr 2025 13:12:19 +0100 Subject: Fix building in a post-CMP0082 world. --- CMakeLists.txt | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b999afee..2beed1b81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,5 @@ # This usage of CMake requires at least version 2.4 (checks are made to determine what to use when certain versions lack functions) -cmake_minimum_required(VERSION 2.4...3.99 FATAL_ERROR) +cmake_minimum_required(VERSION 2.4...3.20 FATAL_ERROR) # Set the project as C++ primarily, but have C enabled for the checks required later project(Anope CXX) @@ -469,14 +469,6 @@ if(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR}) endif(MSVC) endif(${Anope_SOURCE_DIR} STREQUAL ${Anope_BINARY_DIR}) -# Go into the following directories and run their CMakeLists.txt as well -add_subdirectory(data) -add_subdirectory(docs) -add_subdirectory(language) -add_subdirectory(src) -add_subdirectory(modules) -add_subdirectory(include) - # Get the filename of the Anope binary, to use later set(SERVICES_BINARY "$") get_filename_component(SERVICES_BINARY ${SERVICES_BINARY} NAME) @@ -546,3 +538,12 @@ if(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") set(CPACK_MONOLITHIC_INSTALL TRUE) include(CPack) endif(EXISTS "${CMAKE_ROOT}/Modules/CPack.cmake") + +# Go into the following directories and run their CMakeLists.txt as well +add_subdirectory(data) +add_subdirectory(docs) +add_subdirectory(language) +add_subdirectory(src) +add_subdirectory(modules) +add_subdirectory(include) + -- cgit From c6065ff0f387c166cbcdbe31135e26fe3da20f5a Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Wed, 2 Apr 2025 10:23:52 +0100 Subject: Update the change log. --- docs/Changes | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/Changes b/docs/Changes index 6ac23ce64..ab8f1c1d7 100644 --- a/docs/Changes +++ b/docs/Changes @@ -1,6 +1,13 @@ Anope Version 2.0.18-git ------------------------ -No significant changes. +Backported better sendmail error messages from 2.1. +Fixed building Anope with CMake 4. +Fixed compatibility with MariaDB. +Fixed counting email addresses in ns_maxemail. +Fixed importing user ICQ and URL data from 1.8. +Fixed operserv/ignore not being prioritised first. +Fixed resetting the stats with operserv/stats. +Updated the Dutch translation. Anope Version 2.0.17 -------------------- -- cgit