summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake')
-rw-r--r--Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake
new file mode 100644
index 0000000..19c12d4
--- /dev/null
+++ b/Tests/RunCMake/install/TARGETS-NAMELINK_COMPONENT-bad-exc.cmake
@@ -0,0 +1,10 @@
+enable_language(C)
+
+add_executable(namelink-exc main.c)
+
+install(TARGETS namelink-exc
+ RUNTIME
+ DESTINATION bin
+ COMPONENT exc
+ NAMELINK_COMPONENT dev
+)