1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 05:46:38 +02:00

Made gch files depend on the header they were generated from

This commit is contained in:
Adam
2012-03-11 21:21:47 -04:00
parent 92ed5d7208
commit cff91a532f
+1
View File
@@ -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)