add_library( uptpl SHARED src/constructor.c src/destructor.c src/write.c src/write.h ) target_link_libraries(uptpl uptev) set_target_properties( uptpl PROPERTIES LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib/uproctrace ) install( PROGRAMS ${CMAKE_BINARY_DIR}/lib/uproctrace/libuptpl.so DESTINATION lib/uproctrace )