CMake/Tests/RunCMake/ObjectLibrary/LinkObjLHS.cmake

3 lines
74 B
CMake

add_library(AnObjLib OBJECT a.c)
target_link_libraries(AnObjLib OtherLib)