fixed vcproj files for modules which do not use pch
[reactos.git] / reactos / tools / rbuild / backend / msvc / vcprojmaker.cpp
index c8cfb07..534f600 100644 (file)
@@ -428,7 +428,7 @@ MSVCBackend::_generate_vcproj ( const Module& module )
                {\r
                        std::string& config = cfgs[iconfig];\r
 \r
-                       if ( isrcfile == 0 )\r
+                       if (( isrcfile == 0 ) && ( module.pch != NULL ))\r
                        {\r
                                /* little hack to speed up PCH */\r
                                fprintf ( OUT, "\t\t\t\t<FileConfiguration\r\n" );\r