summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-03-11 21:21:47 -0400
committerAdam <Adam@anope.org>2012-03-11 21:21:47 -0400
commitcff91a532f77bdcc68ebf116d4953f7436af6df6 (patch)
tree255e29e36652bdaad3ffbe589177b075a56564df
parent92ed5d7208681c074b9f1b0e43e6751a1b7381b6 (diff)
Made gch files depend on the header they were generated from
-rw-r--r--include/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/CMakeLists.txt b/include/CMakeLists.txt
index 049aa478a..f7e653a8a 100644
--- a/include/CMakeLists.txt
+++ b/include/CMakeLists.txt
@@ -27,6 +27,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
foreach(PCH_SOURCE ${PCH_SOURCES})
find_includes(${PCH_SOURCE} INCLUDES)
set(INCLUDES_LIST)
+ append_to_list(INCLUDES_LIST ${PCH_SOURCE})
foreach(INCLUDE ${INCLUDES})
# Extract the filename from the #include line
extract_include_filename(${INCLUDE} FILENAME QUOTE_TYPE)