diff options
-rw-r--r-- | Source/cmTarget.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 6cb8d93..a9c5b53 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -2093,13 +2093,17 @@ std::string cmTarget::NormalGetFullPath(const char* config, bool implib, fpath += "/"; // Add the full name of the target. - if(realname) + if(implib) + { + fpath += this->GetFullName(config, true); + } + else if(realname) { fpath += this->NormalGetRealName(config); } else { - fpath += this->GetFullName(config, implib); + fpath += this->GetFullName(config, false); } return fpath; } |