use 'target_link_libraries' to resolve libR (TODO: Find<Pkg>.cmake module?)