using file(GLOB) could install plugins from the wrong location, use targets instead to get the correct output path Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>