diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-13 01:36:45 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-13 01:42:38 +0000 |
commit | eaaabd8de0815d9782af43497e3f1bb912c99dec (patch) | |
tree | c785b9e70c59f17eb189290f40cb075514be33cc /src/tools | |
parent | 40ce51a1a914210e094f5512482f6b6b668809cc (diff) |
Rip out calculate_depends().
This code is incredibly error prone and it just duplicates behaviour
that CMake already implements with depend.make files.
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/CMakeLists.txt | 2 |
1 files changed, 0 insertions, 2 deletions
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 |