summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake')
-rw-r--r--Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake
new file mode 100644
index 0000000..701d093
--- /dev/null
+++ b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-all.cmake
@@ -0,0 +1,9 @@
+enable_language(C)
+
+add_library(namelink-lib empty.c)
+
+install(TARGETS namelink-lib
+ DESTINATION lib
+ COMPONENT lib
+ NAMELINK_COMPONENT dev
+)