cmake: handle also unit tests