diff options
-rw-r--r-- | Source/cmTarget.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index a640b0d..09f261d 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -3565,7 +3565,7 @@ void cmTarget::ComputeImportInfo(std::string const& desired_config, !loc && aci != availableConfigs.end(); ++aci) { suffix = "_"; - suffix += cmSystemTools::UpperCase(availableConfigs[0]); + suffix += cmSystemTools::UpperCase(*aci); std::string locProp = "IMPORTED_LOCATION"; locProp += suffix; loc = this->GetProperty(locProp.c_str()); |