summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r--Source/cmProjectCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx
index 43b02bc..afacc1b 100644
--- a/Source/cmProjectCommand.cxx
+++ b/Source/cmProjectCommand.cxx
@@ -29,20 +29,20 @@ bool cmProjectCommand
this->Makefile->AddCacheDefinition
(bindir,
- this->Makefile->GetCurrentOutputDirectory(),
+ this->Makefile->GetCurrentBinaryDirectory(),
"Value Computed by CMake", cmState::STATIC);
this->Makefile->AddCacheDefinition
(srcdir,
- this->Makefile->GetCurrentDirectory(),
+ this->Makefile->GetCurrentSourceDirectory(),
"Value Computed by CMake", cmState::STATIC);
bindir = "PROJECT_BINARY_DIR";
srcdir = "PROJECT_SOURCE_DIR";
this->Makefile->AddDefinition(bindir,
- this->Makefile->GetCurrentOutputDirectory());
+ this->Makefile->GetCurrentBinaryDirectory());
this->Makefile->AddDefinition(srcdir,
- this->Makefile->GetCurrentDirectory());
+ this->Makefile->GetCurrentSourceDirectory());
this->Makefile->AddDefinition("PROJECT_NAME", args[0].c_str());