Selaa lähdekoodia

BUG: local gen was setting proj dir when it shouldnt

Ken Martin 20 vuotta sitten
vanhempi
sitoutus
ee7fbdf058
1 muutettua tiedostoa jossa 0 lisäystä ja 7 poistoa
  1. 0 7
      Source/cmLocalGenerator.cxx

+ 0 - 7
Source/cmLocalGenerator.cxx

@@ -41,13 +41,6 @@ cmLocalGenerator::~cmLocalGenerator()
 
 void cmLocalGenerator::Configure()
 {
-  // set the PROJECT_SOURCE_DIR and PROJECT_BIN_DIR to default values
-  // just in case the project does not include a PROJECT command
-  m_Makefile->AddDefinition("PROJECT_BINARY_DIR",
-                            m_Makefile->GetHomeOutputDirectory());
-  m_Makefile->AddDefinition("PROJECT_SOURCE_DIR",
-                            m_Makefile->GetHomeDirectory());
-
   // find & read the list file
   std::string currentStart = m_Makefile->GetStartDirectory();
   currentStart += "/CMakeLists.txt";