mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
BUG: fix depends and CXXFLAGS passing
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@ VPATH = @srcdir@
|
||||
|
||||
CMAKE_CONFIG_DIR = @CMAKE_CONFIG_DIR@
|
||||
CXX = @CXX@
|
||||
CXXFLAGS = -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
|
||||
CXXFLAGS = @CXXFLAGS@ -DCMAKE_ROOT_DIR='"@CMAKE_ROOT_DIR@"' @CXXFLAGS@ -DCMAKE_HAS_AUTOCONF -I${CMAKE_CONFIG_DIR}/Source
|
||||
|
||||
.SUFFIXES: .cxx .java .class
|
||||
|
||||
|
||||
@@ -133,11 +133,10 @@ void cmUnixMakefileGenerator::OutputMakefile(const char* file)
|
||||
this->OutputDependencies(fout);
|
||||
this->OutputTargets(fout);
|
||||
this->OutputSubDirectoryRules(fout);
|
||||
std::string dependName;
|
||||
std::string dependName = m_Makefile->GetStartOutputDirectory();
|
||||
dependName += "/cmake.depends";
|
||||
if(!this->m_CacheOnly)
|
||||
{
|
||||
dependName = m_Makefile->GetStartOutputDirectory();
|
||||
dependName += "/cmake.depends";
|
||||
std::ofstream dependout(dependName.c_str());
|
||||
if(!dependout)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user