summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-03 16:24:04 +0000
committerSadie Powell <sadie@witchery.services>2022-01-03 16:27:15 +0000
commitaee1e53cb3bec6d30f171bfbc14a69be46a3f31c (patch)
tree62280ac77eb40253981ca2a747fc30508c736724 /CMakeLists.txt
parentfd1ca96e2c1013cc747f0bc6def1e5da13b44386 (diff)
Remove support for precompiled headers.
This might have been useful two decades ago but on recent hardware this just makes builds take longer than without them.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ba29007c7..f3e94feed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -163,12 +163,8 @@ endif()
# Find gettext
find_package(Gettext)
-option(USE_PCH "Use precompiled headers" OFF)
-
# Use the following directories as includes
-# Note that it is important the binary include directory comes before the
-# source include directory so the precompiled headers work correctly.
-include_directories(${Anope_BINARY_DIR}/include ${Anope_SOURCE_DIR}/include ${Anope_BINARY_DIR}/language ${Anope_SOURCE_DIR}/modules/pseudoclients)
+include_directories(${Anope_BINARY_DIR}/include ${Anope_SOURCE_DIR}/include)
# Pass on REPRODUCIBLE_BUILD
if(REPRODUCIBLE_BUILD)