summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-18 19:15:34 +0100
committerAlex Neundorf <neundorf@kde.org>2011-12-18 19:15:34 +0100
commitea6883752b7ad65a91af71611955ccb7b7055d76 (patch)
treeb4b1fbcbd024db04a82c91821a1a96c1b33133f3
parent84094cd155d415930631636e6c4c4822a861fd21 (diff)
downloadcmake-ea6883752b7ad65a91af71611955ccb7b7055d76.tar.gz
fix #12262: dependency scanning for ASM files
Now also CMAKE_ASM_INCLUDE_PATH is written into CMakeDirectoryInformation.cmake, which is necessary to make the dependency scanning for included files work. Alex
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 4e4f1d9566..6be3eb92ec 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -470,6 +470,8 @@ void cmLocalUnixMakefileGenerator3::WriteDirectoryInformationFile()
<< "SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})\n";
infoFileStream
<< "SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})\n";
+ infoFileStream
+ << "SET(CMAKE_ASM_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})\n";
// Store the include regular expressions for this directory.
infoFileStream