set (SOURCES plugin.cpp photoreceptor.cpp) add_library(photoreceptor SHARED ${SOURCES}) target_link_libraries(photoreceptor stm) INSTALL_TARGETS(${INSTALL_LIB_PATH} photoreceptor)