summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_libraries/StaticPrivateDepNotTarget.cmake
blob: 7122ae91ed148deb966198023f5d6bc05c230d8a (plain)
1
2
3
4
5
6
cmake_policy(SET CMP0022 NEW)
enable_language(C)
add_library(foo STATIC empty.c)
target_link_libraries(foo PRIVATE not_a_target)
install(TARGETS foo EXPORT Exp DESTINATION lib)
install(EXPORT Exp DESTINATION lib/cmake/Exp)