summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0026/ObjlibNotDefined.cmake
blob: 194760cd46c647a85266b1be27518904821de1bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

enable_language(CXX)

add_executable(objlibuser
    empty.cpp
    $<TARGET_OBJECTS:bar>
)

get_target_property(_location objlibuser LOCATION)

add_library(bar OBJECT
    empty.cpp
)