Brad King
e567d7eb63
add_library: Restore error on alias of non-global imported target
...
In commit v3.11.0-rc1~433^2~1 (Add support for IMPORTED GLOBAL targets
to be aliased, 2017-09-14) we accidentally dropped the error on calling
`add_library` to alias an imported target that is not globally visible.
The `add_executable` command's equivalent check was properly updated.
Restore the check in `add_library` with the same update. Also fix the
test case accordingly.
Fixes : #17982
2018-05-10 09:57:31 -04:00
..
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-13 09:50:15 -04:00
2016-05-16 16:05:19 -04:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2017-10-26 09:11:04 -04:00
2017-10-26 09:11:04 -04:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2018-05-10 09:57:31 -04:00
2017-10-26 09:11:04 -04:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2017-10-26 09:11:04 -04:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00
2013-08-02 15:21:00 +02:00