summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-07-12 13:25:18 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-07-13 14:27:19 (GMT)
commit6491d2503c942b9dfb4db94dba6569e400b57a95 (patch)
tree94e25a580d85774cb4361c0fe56b744da1938698 /Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake
parentc361600fc4b654ececa2f5ebdda64bb39b59ef95 (diff)
downloadCMake-6491d2503c942b9dfb4db94dba6569e400b57a95.zip
CMake-6491d2503c942b9dfb4db94dba6569e400b57a95.tar.gz
CMake-6491d2503c942b9dfb4db94dba6569e400b57a95.tar.bz2
Genex $<COMPILE_LANGUAGE>: Extend contexts supported
When genex $<TARGET_PROPERTY:...> for properties like INCLUDE_DIRECTORIES is evaluated as part of add_custom_command or add_custom_target, genex $<COMPILE_LANGUAGE> and $<COMPLIE_LANG_AND_ID> should be supported. Fixes: #20926
Diffstat (limited to 'Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake
index 6691fdf..15a5e79 100644
--- a/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake
+++ b/Tests/RunCMake/GenEx-COMPILE_LANGUAGE/RunCMakeTest.cmake
@@ -8,3 +8,4 @@ run_cmake(COMPILE_LANGUAGE-add_executable)
run_cmake(COMPILE_LANGUAGE-add_library)
run_cmake(COMPILE_LANGUAGE-add_test)
run_cmake(COMPILE_LANGUAGE-unknown-lang)
+run_cmake(COMPILE_LANGUAGE-TARGET_PROPERTY)