enable_language(C)
add_library(lib SHARED empty.c)
target_link_libraries(lib PRIVATE "$<LINK_GROUP>")