diff options
author | Deniz Bahadir <dbahadir@benocs.com> | 2017-11-27 21:11:11 (GMT) |
---|---|---|
committer | Deniz Bahadir <dbahadir@benocs.com> | 2017-11-29 16:01:47 (GMT) |
commit | b0e2f1415e680337f4b70b19e319efeba0eb6f12 (patch) | |
tree | defd33a0487fa8114d032d22a4a6fdadbf63820f /Tests/RunCMake/ObjectLibrary | |
parent | 85457b63c859f238ef324757f1042cc846cedbc7 (diff) | |
download | CMake-b0e2f1415e680337f4b70b19e319efeba0eb6f12.zip CMake-b0e2f1415e680337f4b70b19e319efeba0eb6f12.tar.gz CMake-b0e2f1415e680337f4b70b19e319efeba0eb6f12.tar.bz2 |
target_link_libraries: Slightly fix some error-messages.
Some error-messages are slightly adjusted to better tell what
invocation would be correct instead. Tests are adjusted accordingly.
Diffstat (limited to 'Tests/RunCMake/ObjectLibrary')
-rw-r--r-- | Tests/RunCMake/ObjectLibrary/LinkObjRHS1-stderr.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/ObjectLibrary/LinkObjRHS1-stderr.txt b/Tests/RunCMake/ObjectLibrary/LinkObjRHS1-stderr.txt index 8809f89..d5ee4f9 100644 --- a/Tests/RunCMake/ObjectLibrary/LinkObjRHS1-stderr.txt +++ b/Tests/RunCMake/ObjectLibrary/LinkObjRHS1-stderr.txt @@ -1,6 +1,6 @@ CMake Error at LinkObjRHS1.cmake:3 \(target_link_libraries\): Target "AnObjLib" of type OBJECT_LIBRARY may not be linked into another - target. One may link only to STATIC or SHARED libraries, or to executables - with the ENABLE_EXPORTS property set. + target. One may link only to INTERFACE, STATIC or SHARED libraries, or to + executables with the ENABLE_EXPORTS property set. Call Stack \(most recent call first\): CMakeLists.txt:3 \(include\) |