diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-22 20:48:28 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2018-10-26 16:09:41 (GMT) |
commit | 4babc9058a996e9cccd183eb25eda5faedd04591 (patch) | |
tree | 36ad3d5ff4e92a5f91972ae3572a84ed0883675e /Source/cmcmd.cxx | |
parent | 45a49ae58abe835bc3ad446b054fa07035c33d60 (diff) | |
download | CMake-4babc9058a996e9cccd183eb25eda5faedd04591.zip CMake-4babc9058a996e9cccd183eb25eda5faedd04591.tar.gz CMake-4babc9058a996e9cccd183eb25eda5faedd04591.tar.bz2 |
cmTargetPropCommandBase: check keywords after parsing
The following was disallowed:
add_library(iface INTERFACE)
target_link_libraries(iface PUBLIC)
just due to the mention of the `PUBLIC` keyword. Instead, only error if
there are actually `PUBLIC` dependencies specified (and analogously for
other restrictions).
Update tests to expect this new behavior.
Diffstat (limited to 'Source/cmcmd.cxx')
0 files changed, 0 insertions, 0 deletions