CMake/Tests/RunCMake/ObjectLibrary/Install.cmake

3 lines
61 B
CMake

add_library(A OBJECT a.c)
install(TARGETS A DESTINATION lib)