diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-13 19:52:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-13 22:16:07 (GMT) |
commit | 2c219bafc045dfdf49529b8ad141fed3dbb4d8e9 (patch) | |
tree | 88438e304e55c8b3540f23940e95e3019326b3fe /Source/cmMakefile.cxx | |
parent | 84e0776e77e625ab43c1a5b2031a06a035ae0210 (diff) | |
download | CMake-2c219bafc045dfdf49529b8ad141fed3dbb4d8e9.zip CMake-2c219bafc045dfdf49529b8ad141fed3dbb4d8e9.tar.gz CMake-2c219bafc045dfdf49529b8ad141fed3dbb4d8e9.tar.bz2 |
cmState: Initialize top level source directories immediately.
Don't leave this as cmMakefile responsibility.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index eea9d67..2c5501e 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -119,10 +119,6 @@ cmMakefile::cmMakefile(cmGlobalGenerator* globalGenerator, this->AddSourceGroup("Object Files", "\\.(lo|o|obj)$"); #endif - this->StateSnapshot.SetDefinition("CMAKE_SOURCE_DIR", - this->GetCMakeInstance()->GetHomeDirectory()); - this->StateSnapshot.SetDefinition("CMAKE_BINARY_DIR", - this->GetCMakeInstance()->GetHomeOutputDirectory()); { const char* dir = this->StateSnapshot.GetDirectory().GetCurrentSource(); if (dir) |