diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2022-07-06 13:06:53 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2022-07-06 14:15:43 (GMT) |
commit | 913ea78d7a22302fcaecb284096239bdb05b6206 (patch) | |
tree | 109938d99efb12ab3be17643e6897c9176c26085 /Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt | |
parent | 4a8db1783ccc48bfdb9060dfff5775ba42cd94cb (diff) | |
download | CMake-913ea78d7a22302fcaecb284096239bdb05b6206.zip CMake-913ea78d7a22302fcaecb284096239bdb05b6206.tar.gz CMake-913ea78d7a22302fcaecb284096239bdb05b6206.tar.bz2 |
Genex LINK_LIBRARY and LINK_GROUP: check supported properties
Refines check for properties supporting these genex.
Enhance error message.
Fixes: #23699
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt')
-rw-r--r-- | Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt b/Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt index d8ff0eb..a9c3842 100644 --- a/Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt +++ b/Tests/RunCMake/GenEx-LINK_LIBRARY/add_custom_command-stderr.txt @@ -4,6 +4,7 @@ CMake Error at add_custom_command.cmake:[0-9]+ \(add_custom_command\): \$<LINK_LIBRARY:feat> \$<LINK_LIBRARY:...> may only be used with binary targets to specify link - libraries. + libraries through 'LINK_LIBRARIES', 'INTERFACE_LINK_LIBRARIES', and + 'INTERFACE_LINK_LIBRARIES_DIRECT' properties. Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\) |