summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake')
-rw-r--r--Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake
new file mode 100644
index 0000000..998daa9
--- /dev/null
+++ b/Tests/RunCMake/GenEx-LINK_LANG_AND_ID/wrong-usage2.cmake
@@ -0,0 +1,4 @@
+
+enable_language(C)
+add_executable(empty empty.c)
+target_compile_options(empty PRIVATE $<$<LINK_LANG_AND_ID:C,GNU>:-OPT>)