summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/export/DependOnNotExport.cmake
blob: 06c1ad951cf31265d34600d4a1d15caaf5d4f9f3 (plain)
1
2
3
4
add_library(notexported INTERFACE)
add_library(exported INTERFACE)
target_link_libraries(exported INTERFACE notexported)
export(TARGETS exported FILE "${CMAKE_CURRENT_BINARY_DIR}/exports.cmake")