summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/add_library/UNKNOWNwithOnlyObjectSources.cmake
blob: 604e339aa71ba543481881ac1e5d58e14384a57f (plain)
1
2
3
4
5
enable_language(CXX)
add_library(ObjectLibDependency OBJECT test.cpp)

add_library(TestUnknownLibWithoutSources UNKNOWN IMPORTED)
target_sources(TestUnknownLibWithoutSources PUBLIC $<TARGET_OBJECTS:ObjectLibDependency>)