diff options
author | Jon Chronopoulos <patches@crondog.com> | 2018-05-29 11:37:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-07 17:18:23 (GMT) |
commit | 6dad812143ae50df5ed0de4c5c2d433b6d59aea2 (patch) | |
tree | 9a20cd5510a8275bbef5405c8342fd316392ca90 /Tests/RunCMake/install/CODE-genex.cmake | |
parent | acaaca968c512fa420f3564649be1f49acfa6a6a (diff) | |
download | CMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.zip CMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.tar.gz CMake-6dad812143ae50df5ed0de4c5c2d433b6d59aea2.tar.bz2 |
install: Teach CODE,SCRIPT modes to evaluate generator expressions
Fixes: #15785
Diffstat (limited to 'Tests/RunCMake/install/CODE-genex.cmake')
-rw-r--r-- | Tests/RunCMake/install/CODE-genex.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/CODE-genex.cmake b/Tests/RunCMake/install/CODE-genex.cmake new file mode 100644 index 0000000..3b8513d --- /dev/null +++ b/Tests/RunCMake/install/CODE-genex.cmake @@ -0,0 +1,2 @@ +add_library( codegenexlib INTERFACE ) +install(CODE "message( STATUS \"$<TARGET_PROPERTY:codegenexlib,NAME>\")") |