diff options
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r-- | Source/cmProjectCommand.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index bdbafbf..2418bad 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -31,10 +31,12 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args) std::string srcdir = args[0]; srcdir += "_SOURCE_DIR"; - this->Makefile->AddCacheDefinition(bindir.c_str(), + this->Makefile->AddCacheDefinition + (bindir.c_str(), this->Makefile->GetCurrentOutputDirectory(), "Value Computed by CMake", cmCacheManager::STATIC); - this->Makefile->AddCacheDefinition(srcdir.c_str(), + this->Makefile->AddCacheDefinition + (srcdir.c_str(), this->Makefile->GetCurrentDirectory(), "Value Computed by CMake", cmCacheManager::STATIC); |