Prechádzať zdrojové kódy

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
Alex Neundorf 14 rokov pred
rodič
commit
ea6883752b
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  1. 2 0
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 2 - 0
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