CMake/Tests/RunCMake/ExportImport/bar-config.cmake.in
Brad King 0ebff0d61a 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
2022-08-15 10:40:03 -04:00

3 lines
110 B
CMake

# find_dependency(foo) intentionally left out for this test case
include(${CMAKE_CURRENT_LIST_DIR}/bar.cmake)