summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetObjects/BadContext.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetObjects/BadContext.cmake')
-rw-r--r--Tests/RunCMake/TargetObjects/BadContext.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetObjects/BadContext.cmake b/Tests/RunCMake/TargetObjects/BadContext.cmake
new file mode 100644
index 0000000..67962a4
--- /dev/null
+++ b/Tests/RunCMake/TargetObjects/BadContext.cmake
@@ -0,0 +1,4 @@
+
+file(GENERATE OUTPUT test_output CONTENT $<TARGET_OBJECTS:NoTarget>)
+
+install(FILES $<TARGET_OBJECTS:NoTarget> DESTINATION objects)