summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-08-10 15:30:03 (GMT)
committerBrad King <brad.king@kitware.com>2022-08-15 14:40:03 (GMT)
commit0ebff0d61acf27c077545a36ee83526cef22e1fc (patch)
tree03dfed920c4421d20d9d71b126656555aad8ee49 /Tests/RunCMake/CMakeLists.txt
parent4be24f031a4829db75b85062cc67125035d8831e (diff)
downloadCMake-0ebff0d61acf27c077545a36ee83526cef22e1fc.zip
CMake-0ebff0d61acf27c077545a36ee83526cef22e1fc.tar.gz
CMake-0ebff0d61acf27c077545a36ee83526cef22e1fc.tar.bz2
export: Restore exclusion of private shared library dependencies from checks
Refactoring in commit 8c65b7042e (cmExportFileGenerator: Simplify collection of targets missing from export set, 2022-04-11, v3.24.0-rc1~281^2) accidentally dropped the behavior change from commit 0ad2a1c181 (Export: Never treat private link libraries as public package dependencies., 2013-09-24, v3.0.0-rc1~559^2). Restore the behavior and add a test. Fixes: #23838
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r--Tests/RunCMake/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt
index 69def6d..09f248e 100644
--- a/Tests/RunCMake/CMakeLists.txt
+++ b/Tests/RunCMake/CMakeLists.txt
@@ -301,6 +301,7 @@ if("${CMAKE_GENERATOR}" MATCHES "Unix Makefiles|Ninja")
add_RunCMake_test(ExportCompileCommands)
endif()
add_RunCMake_test(ExcludeFromAll)
+add_RunCMake_test(ExportImport)
add_RunCMake_test(ExternalData)
add_RunCMake_test(FeatureSummary)
add_RunCMake_test(FPHSA)