mirror of
https://github.com/reactos/CMake.git
synced 2024-12-11 05:14:00 +00:00
cmGeneratorTarget: make keyword strings const
This commit is contained in:
parent
14a13d30ee
commit
88ed556d99
@ -3616,13 +3616,13 @@ void cmGeneratorTarget::CheckPropertyCompatibility(
|
||||
const cmComputeLinkInformation::ItemVector& deps = info->GetItems();
|
||||
|
||||
std::set<std::string> emittedBools;
|
||||
static std::string strBool = "COMPATIBLE_INTERFACE_BOOL";
|
||||
static const std::string strBool = "COMPATIBLE_INTERFACE_BOOL";
|
||||
std::set<std::string> emittedStrings;
|
||||
static std::string strString = "COMPATIBLE_INTERFACE_STRING";
|
||||
static const std::string strString = "COMPATIBLE_INTERFACE_STRING";
|
||||
std::set<std::string> emittedMinNumbers;
|
||||
static std::string strNumMin = "COMPATIBLE_INTERFACE_NUMBER_MIN";
|
||||
static const std::string strNumMin = "COMPATIBLE_INTERFACE_NUMBER_MIN";
|
||||
std::set<std::string> emittedMaxNumbers;
|
||||
static std::string strNumMax = "COMPATIBLE_INTERFACE_NUMBER_MAX";
|
||||
static const std::string strNumMax = "COMPATIBLE_INTERFACE_NUMBER_MAX";
|
||||
|
||||
for (auto const& dep : deps) {
|
||||
if (!dep.Target) {
|
||||
|
Loading…
Reference in New Issue
Block a user