summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/BadIF.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/BadIF.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/BadIF.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/BadIF.cmake b/Tests/RunCMake/GeneratorExpression/BadIF.cmake
new file mode 100644
index 0000000..583f68d
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/BadIF.cmake
@@ -0,0 +1,5 @@
+
+add_custom_target(check ALL COMMAND check
+ $<IF:asdf,a,b>
+ $<IF:asdf,a>
+ )