Files
CMake/Tests/RunCMake/ExportPackageInfo/ReferencesNonExportedTarget.cmake
T
Matthew Woehlke c8ccd5a9e3 export: Add build-tree CPS support
Add Common Package Specification support to export(EXPORT).
2025-02-25 15:42:23 -05:00

7 lines
193 B
CMake

add_library(mammal INTERFACE)
add_library(canine INTERFACE)
target_link_libraries(canine INTERFACE mammal)
install(TARGETS canine EXPORT dog DESTINATION .)
export(EXPORT dog PACKAGE_INFO dog)