diff options
author | Brad King <brad.king@kitware.com> | 2019-05-17 13:14:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-05-17 13:20:04 (GMT) |
commit | 73a829e0785a497069f55d8b2be2fb7b859a3e20 (patch) | |
tree | 0b35fd1a09a4ade6e87da004bd4b01ddd9dc8be9 /Tests/ExportImport/Import/Interface | |
parent | 736f9d184da2109b009078e3184e996883bd7554 (diff) | |
download | CMake-73a829e0785a497069f55d8b2be2fb7b859a3e20.zip CMake-73a829e0785a497069f55d8b2be2fb7b859a3e20.tar.gz CMake-73a829e0785a497069f55d8b2be2fb7b859a3e20.tar.bz2 |
InterfaceLibrary: Whitelist EXPORT_PROPERTIES property
Fixes: #19261
Diffstat (limited to 'Tests/ExportImport/Import/Interface')
-rw-r--r-- | Tests/ExportImport/Import/Interface/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Tests/ExportImport/Import/Interface/CMakeLists.txt b/Tests/ExportImport/Import/Interface/CMakeLists.txt index c850508..a07a5b3 100644 --- a/Tests/ExportImport/Import/Interface/CMakeLists.txt +++ b/Tests/ExportImport/Import/Interface/CMakeLists.txt @@ -109,4 +109,12 @@ foreach(ns exp bld) "not\n" " " [[DEF="\"\$\B"]] "\n") endif() + get_property(custom TARGET ${ns}::cmakeonly PROPERTY custom_property) + if(NOT custom STREQUAL "CustomPropertyValue") + message(SEND_ERROR + "${ns}::cmakeonly property custom_property is:\n" + " ${custom}\n" + "not\n" + " CustomPropertyValue\n") + endif() endforeach() |