diff options
author | Avraham Shukron <avraham.shukron@gmail.com> | 2019-07-19 19:50:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-22 14:23:39 (GMT) |
commit | 680a3c63bb3a6485a1774a457f3f2a63ad96b728 (patch) | |
tree | 91804953565e546801f09ec7166b19e3e4bebcb2 /Tests/RunCMake/add_library | |
parent | 62b5d1e4adf4f21a953557edf6552e3a81f47c07 (diff) | |
download | CMake-680a3c63bb3a6485a1774a457f3f2a63ad96b728.zip CMake-680a3c63bb3a6485a1774a457f3f2a63ad96b728.tar.gz CMake-680a3c63bb3a6485a1774a457f3f2a63ad96b728.tar.bz2 |
target_*: Allow setting INTERFACE properties of UNKNOWN IMPORTED targets
Extend the change made by commit fe4b25ec2f (Teach target_* commands to
set INTERFACE properties of IMPORTED targets, 2017-09-18,
v3.11.0-rc1~433^2~2) to work with imported targets of type `UNKNOWN`.
Fixes: #19434
Diffstat (limited to 'Tests/RunCMake/add_library')
-rw-r--r-- | Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources-stderr.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources-stderr.txt b/Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources-stderr.txt index e332281..838992b 100644 --- a/Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources-stderr.txt +++ b/Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources-stderr.txt @@ -1,4 +1,4 @@ ^CMake Error at UNKNOWNwithOnlyObjectSources.cmake:[0-9]+ \(target_sources\): - target_sources called with non-compilable target type + target_sources may only set INTERFACE properties on IMPORTED targets Call Stack \(most recent call first\): CMakeLists.txt:[0-9]+ \(include\)$ |