summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-wrong-usage2.cmake
blob: e761897ed1d2e6ec9d431294f594e3f855b5de9b (plain)
1
2
3
4

enable_language(C)
add_executable(empty empty.c)
target_compile_options(empty PRIVATE $<$<LINK_LANGUAGE:C>:-OPT>)