summaryrefslogtreecommitdiffstats
path: root/Tests/ImportedSameName/A/CMakeLists.txt
blob: 0a31b40e21eb51c69afb90178829c7111d5a80be (plain)
1
2
3
4
5
6
7
8
add_library(a STATIC a.c)
target_compile_definitions(a INTERFACE DEF_A)

add_library(sameName INTERFACE IMPORTED)
target_link_libraries(sameName INTERFACE a)

add_library(ifaceA INTERFACE)
target_link_libraries(ifaceA INTERFACE sameName)