diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-07 22:26:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-14 22:41:40 (GMT) |
commit | 55474e6182b49acc4183fffdebccc7ae2a7335fa (patch) | |
tree | fc5d65f70f0cc9159d93de0bfed3f4f913950096 /Source/cmCoreTryCompile.cxx | |
parent | 38df5c36d66313a5dd7859c1c55a41f60f141b13 (diff) | |
download | CMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.zip CMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.tar.gz CMake-55474e6182b49acc4183fffdebccc7ae2a7335fa.tar.bz2 |
cmState: Move GetTargetTypeName from cmTarget.
Diffstat (limited to 'Source/cmCoreTryCompile.cxx')
-rw-r--r-- | Source/cmCoreTryCompile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx index de3f992..5bb0f99 100644 --- a/Source/cmCoreTryCompile.cxx +++ b/Source/cmCoreTryCompile.cxx @@ -107,7 +107,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv) this->Makefile->IssueMessage(cmake::FATAL_ERROR, "Only libraries may be used as try_compile or try_run IMPORTED " "LINK_LIBRARIES. Got " + std::string(tgt->GetName()) + " of " - "type " + tgt->GetTargetTypeName(tgt->GetType()) + "."); + "type " + cmState::GetTargetTypeName(tgt->GetType()) + "."); return -1; } if (tgt->IsImported()) |