summaryrefslogtreecommitdiff
path: root/Source/cmBuildNameCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-05-21 10:47:00 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2001-05-21 10:47:00 -0400
commit650691850bd4c507296a8abd7cde10c3ac2d8fb7 (patch)
tree78093f3b1ce6b81a984ad0b1c4f9cef1f6091e1a /Source/cmBuildNameCommand.cxx
parent06f403b274cb80b024f0c8adbe7137d9ac99f344 (diff)
downloadcmake-650691850bd4c507296a8abd7cde10c3ac2d8fb7.tar.gz
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 1d51f9f4af..a8c727aa2c 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;