diff options
Diffstat (limited to 'Source/cmITKWrapTclCommand.cxx')
-rw-r--r-- | Source/cmITKWrapTclCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmITKWrapTclCommand.cxx b/Source/cmITKWrapTclCommand.cxx index 1bd20b6..656741f 100644 --- a/Source/cmITKWrapTclCommand.cxx +++ b/Source/cmITKWrapTclCommand.cxx @@ -88,6 +88,10 @@ bool cmITKWrapTclCommand::CreateCableRule(const char* configFile) { commandArgs.push_back("--gccxml-compiler"); commandArgs.push_back(tmp); + tmp = "${CMAKE_CXX_FLAGS}"; + m_Makefile->ExpandVariablesInString(tmp); + commandArgs.push_back("--gccxml-cxxflags"); + commandArgs.push_back(tmp); } #endif const char* gccxml = m_Makefile->GetDefinition("ITK_GCCXML_EXECUTABLE"); |