diff options
author | Patrick Gansterer <paroga@paroga.com> | 2012-11-20 10:37:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-11-26 14:33:26 (GMT) |
commit | 102521b6b3172e32b2985c53eadc6eaebe90245d (patch) | |
tree | ff795cc3bc68f96107dfd4a9f073edc77567ff5c /Source/cmGlobalVisualStudioGenerator.cxx | |
parent | 332dc09d0de3b427eac8a36c3b0c1339daf7179c (diff) | |
download | CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.zip CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.gz CMake-102521b6b3172e32b2985c53eadc6eaebe90245d.tar.bz2 |
VS: Change variable type of ArchitectureId from const char* to string
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudioGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.cxx b/Source/cmGlobalVisualStudioGenerator.cxx index 67d6f80..808664d 100644 --- a/Source/cmGlobalVisualStudioGenerator.cxx +++ b/Source/cmGlobalVisualStudioGenerator.cxx @@ -499,8 +499,8 @@ void cmGlobalVisualStudioGenerator::ComputeVSTargetDepends(cmTarget& target) //---------------------------------------------------------------------------- void cmGlobalVisualStudioGenerator::AddPlatformDefinitions(cmMakefile* mf) { - mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", this->ArchitectureId); - mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", this->ArchitectureId); + mf->AddDefinition("MSVC_C_ARCHITECTURE_ID", this->ArchitectureId.c_str()); + mf->AddDefinition("MSVC_CXX_ARCHITECTURE_ID", this->ArchitectureId.c_str()); if(this->AdditionalPlatformDefinition) { |