summaryrefslogtreecommitdiffstats
path: root/Source/cmCoreTryCompile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-01-26 15:28:25 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-01-26 15:28:25 (GMT)
commit8def82585c8fe81de8ee4c852f8065e19435532e (patch)
tree0946a90ef04b8ed628c4ae0c2f7f038585d755e1 /Source/cmCoreTryCompile.cxx
parent7fefb97ed770e8ac32729cf50be52e5c913bd7b7 (diff)
parentd0adcccbf4321437f5ecb677c7f88b3e4af484ed (diff)
downloadCMake-8def82585c8fe81de8ee4c852f8065e19435532e.zip
CMake-8def82585c8fe81de8ee4c852f8065e19435532e.tar.gz
CMake-8def82585c8fe81de8ee4c852f8065e19435532e.tar.bz2
Merge topic 'try-run-link-libraries'
d0adcccb try_run: Add tests for LINK_LIBRARIES with mock libraries. 223c5cb7 try_run: Add test for bad link libraries. e2b1f058 try_run: Add support for LINK_LIBRARIES option.
Diffstat (limited to 'Source/cmCoreTryCompile.cxx')
-rw-r--r--Source/cmCoreTryCompile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCoreTryCompile.cxx b/Source/cmCoreTryCompile.cxx
index 60d8dd9..5b5d6b6 100644
--- a/Source/cmCoreTryCompile.cxx
+++ b/Source/cmCoreTryCompile.cxx
@@ -109,7 +109,7 @@ int cmCoreTryCompile::TryCompileCode(std::vector<std::string> const& argv)
}
default:
this->Makefile->IssueMessage(cmake::FATAL_ERROR,
- "Only libraries may be used as try_compile IMPORTED "
+ "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()) + ".");
return -1;