Files
cmake/Tests/RunCMake/ExportCpsDefaultComponents/CMakeLists.txt
T
Matthew Woehlke 4c6b437265 Export: Expand CPS default targets
CPS provides "default targets" as a user convenience which can be linked
by specifying only the package name. CMake implements this via a utility
`INTERFACE` target. However, because it is not namespaced, this is not a
valid requirement, which prevents exporting anything linking to this
target to CPS.

Work around this by introducing a new (internal) target property which
replaces a target with its link interface targets at export time.
2026-07-30 15:01:47 -04:00

4 lines
101 B
CMake

cmake_minimum_required(VERSION 4.4.0)
project(${RunCMake_TEST} NONE)
include(${RunCMake_TEST}.cmake)