summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-02-12 15:25:56 (GMT)
committerBrad King <brad.king@kitware.com>2019-02-13 13:37:02 (GMT)
commite429e9af4259f924f4f8329f9f994e2f6a6e824a (patch)
tree15c44e1fd3a6c3cb7de5a70a2f66fde96833c6d2 /Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake
parent6f23321d405930241fa431cfda7650f2993f0c19 (diff)
downloadCMake-e429e9af4259f924f4f8329f9f994e2f6a6e824a.zip
CMake-e429e9af4259f924f4f8329f9f994e2f6a6e824a.tar.gz
CMake-e429e9af4259f924f4f8329f9f994e2f6a6e824a.tar.bz2
genex: Fix erroneous handling of recursion for $<GENEX_EVAL:>
Fixes: #18894
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake b/Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake
index ab8988b..153cd17 100644
--- a/Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake
+++ b/Tests/RunCMake/GeneratorExpression/GENEX_EVAL.cmake
@@ -7,5 +7,6 @@ add_library (example SHARED empty.c)
set_property (TARGET example PROPERTY CUSTOM_PROPERTY1 "PROPERTY1")
set_property (TARGET example PROPERTY CUSTOM_PROPERTY2 "$<TARGET_PROPERTY:CUSTOM_PROPERTY1>")
set_property (TARGET example PROPERTY CUSTOM_PROPERTY3 "$<GENEX_EVAL:BEFORE_$<TARGET_PROPERTY:CUSTOM_PROPERTY2>_AFTER>")
+set_property (TARGET example PROPERTY CUSTOM_PROPERTY4 "$<GENEX_EVAL:$<TARGET_PROPERTY:CUSTOM_PROPERTY3>>")
-file(GENERATE OUTPUT "GENEX_EVAL-generated.txt" CONTENT "$<TARGET_GENEX_EVAL:example,$<TARGET_PROPERTY:example,CUSTOM_PROPERTY3>>")
+file(GENERATE OUTPUT "GENEX_EVAL-generated.txt" CONTENT "$<TARGET_GENEX_EVAL:example,$<TARGET_PROPERTY:example,CUSTOM_PROPERTY4>>")