diff options
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-unknown-lang.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-unknown-lang.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-unknown-lang.cmake b/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-unknown-lang.cmake new file mode 100644 index 0000000000..cec12a3fbc --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/COMPILE_LANGUAGE-unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_compile_options(empty PRIVATE $<$<COMPILE_LANGUAGE:CXX>:-Wall>) |