summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-21 14:47:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-21 14:47:00 (GMT)
commit650691850bd4c507296a8abd7cde10c3ac2d8fb7 (patch)
tree78093f3b1ce6b81a984ad0b1c4f9cef1f6091e1a /Source/cmBuildNameCommand.cxx
parent06f403b274cb80b024f0c8adbe7137d9ac99f344 (diff)
downloadCMake-650691850bd4c507296a8abd7cde10c3ac2d8fb7.zip
CMake-650691850bd4c507296a8abd7cde10c3ac2d8fb7.tar.gz
CMake-650691850bd4c507296a8abd7cde10c3ac2d8fb7.tar.bz2
BUG: fix compiler name
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r--Source/cmBuildNameCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx
index 1d51f9f..a8c727a 100644
--- a/Source/cmBuildNameCommand.cxx
+++ b/Source/cmBuildNameCommand.cxx
@@ -72,7 +72,7 @@ bool cmBuildNameCommand::Invoke(std::vector<std::string>& args)
}
}
- std::string compiler = "-${CMAKE_CXX}";
+ std::string compiler = "-${CMAKE_CXX_COMPILER}";
m_Makefile->ExpandVariablesInString ( compiler );
buildname += compiler;