CMake/Tests/RunCMake/ObjectLibrary/LinkObjRHS1.cmake

4 lines
93 B
CMake

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