From eaaabd8de0815d9782af43497e3f1bb912c99dec Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 13 Jan 2022 01:36:45 +0000 Subject: Rip out calculate_depends(). This code is incredibly error prone and it just duplicates behaviour that CMake already implements with depend.make files. --- src/tools/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/tools') diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt index 343778377..0ef39cafd 100644 --- a/src/tools/CMakeLists.txt +++ b/src/tools/CMakeLists.txt @@ -9,8 +9,6 @@ set_source_files_properties(${TOOLS_SRCS} PROPERTIES LANGUAGE CXX COMPILE_FLAGS foreach(SRC ${TOOLS_SRCS}) # Convert the source file extension to have no extension string(REGEX REPLACE "\\.cpp$" "" EXE ${SRC}) - # Calculate the header file dependencies for the given source file - calculate_depends(${SRC}) # Only continue if this file isn't skipped if(NOT SKIP) # Generate the executable and set its linker flags, also set it to depend on the main Anope executable to be built beforehand -- cgit