diff options
author | Brad King <brad.king@kitware.com> | 2020-06-15 18:27:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-06-16 12:03:35 (GMT) |
commit | f3f6317ca3bc0d5820cd919aee4c9e8e225f617d (patch) | |
tree | 20d15cd3b72ba14069923464cce8a0462613232e /Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake | |
parent | 983adb8bed989b68dc4b7de08d14e3a6eea874d8 (diff) | |
download | CMake-f3f6317ca3bc0d5820cd919aee4c9e8e225f617d.zip CMake-f3f6317ca3bc0d5820cd919aee4c9e8e225f617d.tar.gz CMake-f3f6317ca3bc0d5820cd919aee4c9e8e225f617d.tar.bz2 |
Tests: Factor out RunCMake.GenEx-LINK_LANGUAGE test
Move the `LINK_LANGUAGE` cases out of `RunCMake.GeneratorExpression`.
Diffstat (limited to 'Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake')
-rw-r--r-- | Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake new file mode 100644 index 0000000..0ba472d --- /dev/null +++ b/Tests/RunCMake/GenEx-LINK_LANGUAGE/LINK_LANGUAGE-unknown-lang.cmake @@ -0,0 +1,4 @@ + +enable_language(C) +add_executable(empty empty.c) +target_link_options(empty PRIVATE $<$<LINK_LANGUAGE:CXX>:$<TARGET_EXISTS:too,many,parameters>>) |