summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/CODE-genex.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-11 10:59:38 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-11 11:05:55 (GMT)
commit0f48fbaa72fa254faaed6b586fcaa5d3c5c77798 (patch)
tree38520add1b903a77bdd51af9789c3cab9c869148 /Tests/RunCMake/install/CODE-genex.cmake
parentfd02538974dd952a8639d371c2c0067d30d5469a (diff)
downloadCMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.zip
CMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.tar.gz
CMake-0f48fbaa72fa254faaed6b586fcaa5d3c5c77798.tar.bz2
install: Revert CODE,SCRIPT support for generator expressions
Revert commit v3.13.0-rc1~441^2 (install: Teach CODE,SCRIPT modes to evaluate generator expressions, 2018-05-29). Unfortunately it has been found to break existing code in a real project, e.g. install(CODE [[ message("$<FOOBAR>") ]]) Address this regression by reverting support for the 3.13 release series. Support can be restored later with a policy for compatibility. Issue: #15785 Fixes: #18435
Diffstat (limited to 'Tests/RunCMake/install/CODE-genex.cmake')
-rw-r--r--Tests/RunCMake/install/CODE-genex.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tests/RunCMake/install/CODE-genex.cmake b/Tests/RunCMake/install/CODE-genex.cmake
deleted file mode 100644
index 3b8513d..0000000
--- a/Tests/RunCMake/install/CODE-genex.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-add_library( codegenexlib INTERFACE )
-install(CODE "message( STATUS \"$<TARGET_PROPERTY:codegenexlib,NAME>\")")