CMake/Tests/RunCMake/ObjectLibrary/LinkObjRHS2.cmake

4 lines
93 B
CMake

add_library(A SHARED a.c)
target_link_libraries(A AnObjLib)
add_library(AnObjLib OBJECT a.c)