summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-07-28 12:11:51 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-07-28 12:12:10 (GMT)
commitb6ffca53f8cda7c0f6712895537aea60461307f4 (patch)
tree283ad05a60685d2fbd0306cf48bfcb36e0b7db75 /Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake
parent294e3cf7fffbc340be859d327ff9d4df309bf4fb (diff)
parent41f15193e5adfaaf9990b2d8d81bb0ec6c05572c (diff)
downloadCMake-b6ffca53f8cda7c0f6712895537aea60461307f4.zip
CMake-b6ffca53f8cda7c0f6712895537aea60461307f4.tar.gz
CMake-b6ffca53f8cda7c0f6712895537aea60461307f4.tar.bz2
Merge topic 'verify-interface-header-sets-interface-library-source-language'
41f15193e5 VERIFY_INTERFACE_HEADER_SETS: Fall back to global languages Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7517
Diffstat (limited to 'Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake')
-rw-r--r--Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake
index a601491..f260609 100644
--- a/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake
+++ b/Tests/RunCMake/VerifyHeaderSets/VerifyHeaderSets.cmake
@@ -61,6 +61,10 @@ add_library(lang_test_cxx STATIC lib.c lib.cxx)
target_compile_definitions(lang_test_cxx INTERFACE EXPECT_CXX)
target_sources(lang_test_cxx INTERFACE FILE_SET HEADERS FILES lang_test.h)
+add_library(interface_lang_test_cxx INTERFACE)
+target_compile_definitions(interface_lang_test_cxx INTERFACE EXPECT_CXX)
+target_sources(interface_lang_test_cxx INTERFACE FILE_SET HEADERS FILES lang_test.h)
+
set_property(SOURCE error.h PROPERTY LANGUAGE C)
add_library(list STATIC lib.c)